Patch level : 12.0 386
Files correlati : tf Commento : Sistemato errore campo mancante, adesso in release compare una fatal_box che avvisa l'utente. git-svn-id: svn://10.65.10.50/branches/R_10_00@23794 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
c6cf7d094a
commit
ebe9b43673
@ -3220,7 +3220,11 @@ void TRectype::unknown_field(const char* name) const
|
||||
static int last_file = 0;
|
||||
if (_logicnum != last_file)
|
||||
{
|
||||
NFCHECK("Il campo '%s' non appartiene al file %d", name, _logicnum);
|
||||
#ifdef DBG
|
||||
NFCHECK("Il campo '%s' non appartiene al file %d", name, _logicnum);
|
||||
#else
|
||||
fatal_box("Database non convertito.\nIl campo '%s' non appartiene al file %d", name, _logicnum);
|
||||
#endif
|
||||
last_file = _logicnum;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user