fixed some typos that were introduced during the sprintf->snprintf changes
authorArun Persaud <arun@nubati.net>
Fri, 8 Oct 2010 03:35:26 +0000 (20:35 -0700)
committerArun Persaud <arun@nubati.net>
Fri, 8 Oct 2010 03:35:26 +0000 (20:35 -0700)
winboard/woptions.c

index 2913b68..4d071ce 100644 (file)
@@ -925,7 +925,7 @@ NewVariantDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
          return TRUE; /* treat as _("Cancel") if first engine does not support it */\r
        } else\r
        if (second.initDone && second.protocolVersion > 1 && StrStr(second.variants, name) == NULL) {\r
-         snprintf(buf, MSG_SIZ, r_("Warning: second engine (%s) does not support this!"), second.tidy);\r
+         snprintf(buf, MSG_SIZ, _("Warning: second engine (%s) does not support this!"), second.tidy);\r
          DisplayError(buf, 0);   /* use of second engine is optional; only warn user */\r
        }\r
       }\r
@@ -1534,7 +1534,7 @@ CopyFont(MyFont *dest, const MyFont *src)
   dest->mfp.underline = src->mfp.underline;\r
   dest->mfp.strikeout = src->mfp.strikeout;\r
   dest->mfp.charset   = src->mfp.charset;\r
-  lsafeStrCpy(dest->mfp.faceName, src->mfp.faceName, sizeof(dest->mfp.faceName)/sizeof(dest->mfp.faceName[0]) );\r
+  safeStrCpy(dest->mfp.faceName, src->mfp.faceName, sizeof(dest->mfp.faceName)/sizeof(dest->mfp.faceName[0]) );\r
   CreateFontInMF(dest);\r
 }\r
 \r