From: Vadim Zeitlin Date: Wed, 31 Mar 1999 13:35:03 +0000 (+0000) Subject: count++ bug corrected (patch from Dino Scaringella) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b29518f8f98486360bd50e008d2c45d996ed7d80 count++ bug corrected (patch from Dino Scaringella) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 != "") {