mail[Wesnoth-commits] r28642 - /trunk/src/gui/widgets/text_box.hpp


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

Header


Content

Posted by koraq on August 16, 2008 - 13:49:
Author: mordante
Date: Sat Aug 16 13:49:39 2008
New Revision: 28642

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28642&view=rev
Log:
Fix a compilation error due to calling a non-existing function.

Modified:
    trunk/src/gui/widgets/text_box.hpp

Modified: trunk/src/gui/widgets/text_box.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/text_box.hpp?rev=28642&r1=28641&r2=28642&view=diff
==============================================================================
--- trunk/src/gui/widgets/text_box.hpp (original)
+++ trunk/src/gui/widgets/text_box.hpp Sat Aug 16 13:49:39 2008
@@ -126,7 +126,7 @@
        }
 
        /** Saves the text in the widget to the history. */
-       void save_to_history() { history_.push(get_text()); }
+       void save_to_history() { history_.push(get_value()); }
 
        /***** ***** ***** setters / getters for members ***** ****** *****/
 




Related Messages


Powered by MHonArc, Updated Sat Aug 16 14:21:13 2008