X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5bd57a7e4f7afb5caa66c63cf1fb44e350671d81..e2d4ce7d3681c876f69126c0a63e5caebbab62dd:/src/gtk/gnome/gprint.cpp diff --git a/src/gtk/gnome/gprint.cpp b/src/gtk/gnome/gprint.cpp index d3e6fbe58d..737bfc374b 100644 --- a/src/gtk/gnome/gprint.cpp +++ b/src/gtk/gnome/gprint.cpp @@ -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