]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontutil.cpp
added cmdline.h/.cpp to the makefiles
[wxWidgets.git] / src / msw / fontutil.cpp
index 5fddec59b862b66dbd27b2dfcb99d61aeb37486b..ecaeb8e2bcb959cb7bf716626cf103c63b724624 100644 (file)
@@ -168,7 +168,7 @@ bool wxTestFontEncoding(const wxNativeEncodingInfo& info)
     wxZeroMemory(lf);       // all default values
 
     lf.lfCharSet = info.charset;
-    strncpy(lf.lfFaceName, info.facename, sizeof(lf.lfFaceName));
+    wxStrncpy(lf.lfFaceName, info.facename, sizeof(lf.lfFaceName));
 
     HFONT hfont = ::CreateFontIndirect(&lf);
     if ( !hfont )