q = strchr(p, ':');\r
if (q) {\r
if (q - p >= sizeof(mfp->faceName))\r
- ExitArgError(_("Font name too long:"), name);\r
+ ExitArgError(_("Font name too long:"), name, TRUE);\r
memcpy(mfp->faceName, p, q - p);\r
mfp->faceName[q - p] = NULLCHAR;\r
p = q + 1;\r
while (*p && !isdigit(*p)) {\r
*q++ = *p++;\r
if (q - mfp->faceName >= sizeof(mfp->faceName))\r
- ExitArgError(_("Font name too long:"), name);\r
+ ExitArgError(_("Font name too long:"), name, TRUE);\r
}\r
while (q > mfp->faceName && q[-1] == ' ') q--;\r
*q = NULLCHAR;\r
}\r
- if (!*p) ExitArgError(_("Font point size missing:"), name);\r
+ if (!*p) ExitArgError(_("Font point size missing:"), name, TRUE);\r
mfp->pointSize = (float) atof(p);\r
mfp->bold = (strchr(p, 'b') != NULL);\r
mfp->italic = (strchr(p, 'i') != NULL);\r
}\r
bs++;\r
}\r
- ExitArgError(_("Unrecognized board size value"), name);\r
+ ExitArgError(_("Unrecognized board size value"), name, TRUE);\r
}\r
\r
void\r
void InitComboStrings(HANDLE hwndCombo, char **cd);\r
BOOLEAN MyLoadSound(MySound *ms);\r
BOOLEAN MyPlaySound(MySound *ms);\r
-VOID ExitArgError(char *msg, char *badArg);\r
+VOID ExitArgError(char *msg, char *badArg, Boolean quit);\r
void SaveSettings(char* name);\r
BOOL BrowseForFolder( const char * title, char * path );\r
VOID TourneyPopup();\r
if (cd->label == NULL) goto cant_parse;\r
return;\r
cant_parse:\r
- ExitArgError(_("Can't parse com port settings"), arg);\r
+ ExitArgError(_("Can't parse com port settings"), arg, TRUE);\r
}\r
\r
\r