another typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
46bada707d
commit
40a97c003c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user