fix gcc 3.3 warning about possibly uninitialized (but in reality initialized) variable after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e227438f24
commit
59730a00a6
@ -1920,7 +1920,7 @@ void wxGnomePrinterDCImpl::DoGetTextExtent(const wxString& string, wxCoord *widt
|
||||
const wxCharBuffer dataUTF8 = string.utf8_str();
|
||||
#endif
|
||||
|
||||
gint oldSize;
|
||||
gint oldSize = 0;
|
||||
if ( theFont )
|
||||
{
|
||||
// scale the font and apply it
|
||||
|
Loading…
Reference in New Issue
Block a user