projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46bada7
)
another typo fixed
author
Karsten Ballüder
<ballueder@usa.net>
Thu, 18 Jun 1998 13:40:24 +0000
(13:40 +0000)
committer
Karsten 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
patch
|
blob
|
blame
|
history
diff --git
a/src/common/postscrp.cpp
b/src/common/postscrp.cpp
index 7d923a520eaf41c700ca9ca531169f4ee1e2395e..9577aae423af2b0210cb95940b91ee433f29f07f 100644
(file)
--- 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);