Committing in .

VMS patch

 Modified Files:
 	wxWindows/src/generic/dcpsg.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen 1999-11-12 10:51:39 +00:00
parent a8a32ce2cf
commit 79a8a691e9

View File

@ -1841,7 +1841,8 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
}
#ifdef __UNIX__
if (afmFile==NULL)
#ifndef __VMS__
if (afmFile==NULL)
/* please do NOT change the line above to "else if (afmFile==NULL)" -
- afmFile = fopen() may fail and in that case the next if branch
MUST be executed - and it would not if there was "else" */
@ -1854,6 +1855,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
<< name << ".afm";
afmFile = fopen(afmName,"r");
}
#endif
#endif
if (afmFile==NULL)