Compiata sempre la error_hook

git-svn-id: svn://10.65.10.50/trunk@1231 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
pirro 1995-04-11 11:08:15 +00:00
parent ed2193010f
commit 602a170158

View File

@ -9,7 +9,6 @@
extern "C" { long nap(long period); }
#endif
#ifdef DBG
// ERROR HOOK che intercetta errori XVT
// put breakpoint here
@ -24,8 +23,6 @@ BOOLEAN error_hook(XVT_ERRMSG err, DATA_PTR)
#endif
}
#endif
HIDDEN XVT_FNTID DEF_FONT = NULL;
HIDDEN XVT_FNTID FAT_FONT = NULL;
@ -613,7 +610,7 @@ void customize_controls(bool on)
xvt_font_destroy(DEF_FONT);
xvt_font_destroy(FAT_FONT);
}
if (on) xvt_vobj_set_attr(NULL_WIN,ATTR_ERRMSG_HANDLER, (long)error_hook);
}