Correzione
git-svn-id: svn://10.65.10.50/trunk@2839 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
90ca950236
commit
cf75133a48
@ -3,6 +3,8 @@
|
||||
#include <urldefid.h>
|
||||
#include <relapp.h>
|
||||
#include <utility.h>
|
||||
#define STRICT
|
||||
#define XVT_INCL_NATIVE
|
||||
#include <xvtility.h>
|
||||
|
||||
#if XVT_OS == XVT_OS_WIN
|
||||
@ -700,7 +702,7 @@ bool TRelation_application::remove()
|
||||
bool TRelation_application::firm_change_enabled() const
|
||||
{
|
||||
bool ok = TApplication::firm_change_enabled();
|
||||
if (ok) ok = _mask == NULL || _mask->query_mode();
|
||||
ok &= (_mask == NULL || _mask->query_mode()) && _lnflag == 0;
|
||||
return ok;
|
||||
}
|
||||
|
||||
@ -833,7 +835,7 @@ bool TRelation_application::filter()
|
||||
if (msg)
|
||||
{
|
||||
_mask = get_mask(MODE_MOD);
|
||||
TToken_string body = msg->body();
|
||||
TToken_string body(msg->body());
|
||||
|
||||
short id = body.get_int();
|
||||
while (id > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user