La set_firm ora ritorna FALSE solo quando si annulla, non anche quando la ditta
non viene cambiata git-svn-id: svn://10.65.10.50/trunk@470 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
540c5b3105
commit
23bfc7409e
@ -518,7 +518,7 @@ bool TApplication::set_firm(long newfirm)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (newfirm == oldfirm || newfirm < 1)
|
if (newfirm == oldfirm || newfirm < 1)
|
||||||
return FALSE;
|
return newfirm > 0;
|
||||||
|
|
||||||
if (prefhndl->test(newfirm))
|
if (prefhndl->test(newfirm))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user