]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed usage of uninitialized variable.
authorStefan Neis <Stefan.Neis@t-online.de>
Fri, 3 Oct 2003 17:03:52 +0000 (17:03 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Fri, 3 Oct 2003 17:03:52 +0000 (17:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/window.cpp

index 989b1738443f2bb5f2f6a7e434d0a29945a04f8a..605a5ade87bda35fbe7449b1078557666dc1501e 100644 (file)
@@ -1849,7 +1849,7 @@ void wxWindowOS2::GetTextExtent(
     int                             i;
     int                             l;
     FONTMETRICS                     vFM; // metrics structure
-    BOOL                            bRc;
+    BOOL                            bRc = FALSE;
     char*                           pStr;
     ERRORID                         vErrorCode; // last error id code
     HPS                             hPS;