]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dcpsg.cpp
don't crash when XIM is used under IRIX
[wxWidgets.git] / src / generic / dcpsg.cpp
index d1d7bd66d8162377b8272b69c09c13c573a23fc6..a93dffc55a76f34c9c4e4ecc2aa1c70ff4711f9a 100644 (file)
@@ -1985,10 +1985,6 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
         if ( !afmName.empty() )
             afmFile = wxFopen(afmName, wxT("r"));
 
-        if ( !afmFile )
-        {
-        }
-
         if ( !afmFile )
         {
 #if defined(__UNIX__) && !defined(__VMS__)