]> git.saurik.com Git - wxWidgets.git/commitdiff
another typo fixed
authorKarsten Ballüder <ballueder@usa.net>
Thu, 18 Jun 1998 13:40:24 +0000 (13:40 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Thu, 18 Jun 1998 13:40:24 +0000 (13:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/postscrp.cpp

index 7d923a520eaf41c700ca9ca531169f4ee1e2395e..9577aae423af2b0210cb95940b91ee433f29f07f 100644 (file)
@@ -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){
         }
        // 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);
             || (strcmp(utString,"UnderlineThickness")!=0)) {
            wxDebugMsg("AFM-file '%s': line '%s' has error (bad UnderlineThickness)\n",
                       afmName,line);