mail[Wesnoth-commits] r27354 - /trunk/src/gui/widgets/listbox.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on June 20, 2008 - 17:44:
Author: mordante
Date: Fri Jun 20 17:44:40 2008
New Revision: 27354

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27354&view=rev
Log:
Test the proper variable.

Modified:
    trunk/src/gui/widgets/listbox.cpp

Modified: trunk/src/gui/widgets/listbox.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/listbox.cpp?rev=27354&r1=27353&r2=27354&view=diff
==============================================================================
--- trunk/src/gui/widgets/listbox.cpp (original)
+++ trunk/src/gui/widgets/listbox.cpp Fri Jun 20 17:44:40 2008
@@ -522,7 +522,7 @@
                                        btn->set_label(itor->second.label);
                                        btn->set_icon_name(itor->second.icon);
                                }
-                       } else if(grid) {
+                       } else if(child_grid) {
                                init_in_grid(child_grid, data);
                        } else {
                                std::cerr << "Widget type " << 
typeid(*widget).name() << ".\n";




Related Messages


Powered by MHonArc, Updated Fri Jun 20 18:22:09 2008