Errore MI2323

git-svn-id: svn://10.65.10.50/trunk@4259 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1997-04-03 16:09:38 +00:00
parent 68b2888337
commit 7f4a143dcb

View File

@ -231,13 +231,15 @@ bool TSaldibrowse_application::anno_handler(TMask_field& f, KEY key)
{
if (key == K_TAB && f.focusdirty())
{
const int anno = atoi(f.get());
const TString16 cod_eser = f.get();
const int anno = atoi(cod_eser);
if (anno > 0)
{
app()._esc->put("CODTAB", anno);
app()._esc->put("CODTAB", cod_eser);
if (app()._esc->read() != NOERR)
{
f.error_box("Esercizio %d non presente.", anno);
f.error_box("Esercizio %s non presente.", (const char *) cod_eser);
return FALSE;
}
else