adding variable initialization to 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2008-10-03 11:42:02 +00:00
parent 0d59e2639d
commit 8cf694d4ea

View File

@@ -2179,7 +2179,7 @@ void wxGtkPrinterDCImpl::DoGetTextExtent(const wxString& string, wxCoord *width,
// Set layout's text
const wxUTF8Buf dataUTF8 = string.utf8_str();
gint oldSize;
gint oldSize=0;
if ( theFont )
{
// scale the font and apply it