removed gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2b904684fb
commit
67bbb91038
@ -2320,7 +2320,7 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string,
|
|||||||
if(lastWidths[*p]== INT_MIN)
|
if(lastWidths[*p]== INT_MIN)
|
||||||
{
|
{
|
||||||
wxLogDebug(wxT("GetTextExtent: undefined width for character '%c' (%d)"), *p,*p);
|
wxLogDebug(wxT("GetTextExtent: undefined width for character '%c' (%d)"), *p,*p);
|
||||||
sum += lastWidths[' ']; /* assume space */
|
sum += lastWidths[(unsigned char)' ']; /* assume space */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user