From 40a97c003ccbe968efef3c473de829e88323dff6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Thu, 18 Jun 1998 13:40:24 +0000 Subject: [PATCH] another typo fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/postscrp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.50.0