From 8cf694d4eab7cf96423456a543bafb211b7ac779 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 3 Oct 2008 11:42:02 +0000 Subject: [PATCH] adding variable initialization to 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/print.cpp b/src/gtk/print.cpp index 3bebe3ddc1..02f8376d5d 100644 --- a/src/gtk/print.cpp +++ b/src/gtk/print.cpp @@ -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 -- 2.47.2