wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src help.cpp


From: Kristoffer Erlandsson
Subject: [Wesnoth-cvs-commits] wesnoth/src help.cpp
Date: Fri, 03 Sep 2004 15:39:11 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Kristoffer Erlandsson <address@hidden>  04/09/03 19:34:05

Modified files:
        src            : help.cpp 

Log message:
        Fixed a bug where the help would be empty upon reloads (CVS only)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/help.cpp.diff?tr1=1.31&tr2=1.32&r1=text&r2=text

Patches:
Index: wesnoth/src/help.cpp
diff -u wesnoth/src/help.cpp:1.31 wesnoth/src/help.cpp:1.32
--- wesnoth/src/help.cpp:1.31   Mon Aug 30 17:46:28 2004
+++ wesnoth/src/help.cpp        Fri Sep  3 19:34:05 2004
@@ -283,6 +283,10 @@
        map = NULL;
        toplevel.clear();
        hidden_sections.clear();
+    // These last numbers must be reset so that the content is regenreated.
+    // Upon next start.
+       last_num_encountered_units = -1;
+       last_num_encountered_terrains = -1;
 }
 
 bool section_is_referenced(const std::string &section_id, const config &cfg) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]