]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
compile error with VC6.0 fixed. #include "wx/wxprec.h" moved to top of file
[wxWidgets.git] / src / generic / dcpsg.cpp
index a1744bfbeb1f0f99ecdce362009b8653c182507a..f24a621b05fb6dddc53d27e21bd8dfae1ce53417 100644 (file)
@@ -1839,7 +1839,7 @@ void wxPostScriptDC::GetTextExtent( const wxString& string, long *x, long *y,
 #ifdef __UNIX__
             if (afmFile==NULL)
             {
-                strcpy( afmName, "/usr/local/share/wx/gs_afm/" );
+                strcpy( afmName, "/usr/local/share/wx/afm/" );
              strcat(afmName,name);
              strcat(afmName,".afm");
              afmFile = fopen(afmName,"r");
@@ -1847,7 +1847,7 @@ void wxPostScriptDC::GetTextExtent( const wxString& string, long *x, long *y,
 
             if (afmFile==NULL)
             {
-                strcpy( afmName, "/usr/share/wx/gs_afm/" );
+                strcpy( afmName, "/usr/share/wx/afm/" );
              strcat(afmName,name);
              strcat(afmName,".afm");
              afmFile = fopen(afmName,"r");