Potential fix for requester.class crash on startup on some systems.

svn path=/trunk/netsurf/; revision=5205
This commit is contained in:
Chris Young 2008-08-26 01:22:08 +00:00
parent 2d4818c5ad
commit 7e7de13a33

View File

@ -28,7 +28,7 @@ void warn_user(const char *warning, const char *detail)
TimedDosRequesterTags(TDR_ImageType,TDRIMAGE_WARNING, TimedDosRequesterTags(TDR_ImageType,TDRIMAGE_WARNING,
TDR_TitleString,messages_get("NetSurf"), TDR_TitleString,messages_get("NetSurf"),
TDR_GadgetString,messages_get("OK"), TDR_GadgetString,messages_get("OK"),
TDR_CharSet,106, // TDR_CharSet,106,
TDR_FormatString,"%s\n%s", TDR_FormatString,"%s\n%s",
TDR_Arg1,messages_get(warning), TDR_Arg1,messages_get(warning),
TDR_Arg2,detail, TDR_Arg2,detail,
@ -40,7 +40,7 @@ void die(const char *error)
TimedDosRequesterTags(TDR_ImageType,TDRIMAGE_ERROR, TimedDosRequesterTags(TDR_ImageType,TDRIMAGE_ERROR,
TDR_TitleString,messages_get("NetSurf"), TDR_TitleString,messages_get("NetSurf"),
TDR_GadgetString,messages_get("OK"), TDR_GadgetString,messages_get("OK"),
TDR_CharSet,106, // TDR_CharSet,106,
TDR_FormatString,"%s", TDR_FormatString,"%s",
TDR_Arg1,error, TDR_Arg1,error,
TAG_DONE); TAG_DONE);