]> git.saurik.com Git - wxWidgets.git/commitdiff
adding variable initialization to 0
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 3 Oct 2008 11:42:02 +0000 (11:42 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Fri, 3 Oct 2008 11:42:02 +0000 (11:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/print.cpp

index 3bebe3ddc124d863326f556b5271372ede7b8520..02f8376d5de0fa585fc45042473425a1096fd0a1 100644 (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