From b29518f8f98486360bd50e008d2c45d996ed7d80 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 31 Mar 1999 13:35:03 +0000 Subject: [PATCH] count++ bug corrected (patch from Dino Scaringella) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/resource.cpp b/src/common/resource.cpp index a3c99026f9..ac44cbc882 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -823,8 +823,8 @@ wxItemResource *wxResourceInterpretControl(wxResourceTable& table, wxExpr *expr) // Check for bitmap resource name (in case loading old-style resource file) if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord))) { - count ++; wxString str(expr->Nth(count)->StringValue()); + count ++; if (str != "") { -- 2.50.0