count++ bug corrected (patch from Dino Scaringella)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -823,8 +823,8 @@ wxItemResource *wxResourceInterpretControl(wxResourceTable& table, wxExpr *expr)
|
|||||||
// Check for bitmap resource name (in case loading old-style resource file)
|
// 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)))
|
if (expr->Nth(count) && ((expr->Nth(count)->Type() == PrologString) || (expr->Nth(count)->Type() == PrologWord)))
|
||||||
{
|
{
|
||||||
count ++;
|
|
||||||
wxString str(expr->Nth(count)->StringValue());
|
wxString str(expr->Nth(count)->StringValue());
|
||||||
|
count ++;
|
||||||
|
|
||||||
if (str != "")
|
if (str != "")
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user