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:
parent
ed2193010f
commit
602a170158
@ -9,7 +9,6 @@
|
|||||||
extern "C" { long nap(long period); }
|
extern "C" { long nap(long period); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DBG
|
|
||||||
|
|
||||||
// ERROR HOOK che intercetta errori XVT
|
// ERROR HOOK che intercetta errori XVT
|
||||||
// put breakpoint here
|
// put breakpoint here
|
||||||
@ -24,8 +23,6 @@ BOOLEAN error_hook(XVT_ERRMSG err, DATA_PTR)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
HIDDEN XVT_FNTID DEF_FONT = NULL;
|
HIDDEN XVT_FNTID DEF_FONT = NULL;
|
||||||
HIDDEN XVT_FNTID FAT_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(DEF_FONT);
|
||||||
xvt_font_destroy(FAT_FONT);
|
xvt_font_destroy(FAT_FONT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (on) xvt_vobj_set_attr(NULL_WIN,ATTR_ERRMSG_HANDLER, (long)error_hook);
|
if (on) xvt_vobj_set_attr(NULL_WIN,ATTR_ERRMSG_HANDLER, (long)error_hook);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user