From: Karsten Ballüder Date: Thu, 18 Jun 1998 13:40:24 +0000 (+0000) Subject: another typo fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/40a97c003ccbe968efef3c473de829e88323dff6?ds=sidebyside another typo fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/postscrp.cpp b/src/common/postscrp.cpp index 7d923a520e..9577aae423 100644 --- a/src/common/postscrp.cpp +++ b/src/common/postscrp.cpp @@ -1711,8 +1711,7 @@ void wxPostScriptDC::GetTextExtent (const wxString& string, long *x, long *y, } // JC 2.) check for UnderlineThickness else if(strncmp(line,"UnderlineThickness",18)==0){ - if((sscanf(line,"%s% -f",utString,&UnderlineThickness)!=2) + if((sscanf(line,"%s%lf",utString,&UnderlineThickness)!=2) || (strcmp(utString,"UnderlineThickness")!=0)) { wxDebugMsg("AFM-file '%s': line '%s' has error (bad UnderlineThickness)\n", afmName,line);