mail[Wesnoth-commits] r44710 - /trunk/src/game_events.cpp


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

Header


Content

Posted by guillaume . melquiond on July 26, 2010 - 14:32:
Author: silene
Date: Mon Jul 26 14:32:49 2010
New Revision: 44710

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44710&view=rev
Log:
Fixed nonsensical error message.

Modified:
    trunk/src/game_events.cpp

Modified: trunk/src/game_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_events.cpp?rev=44710&r1=44709&r2=44710&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Mon Jul 26 14:32:49 2010
@@ -1171,8 +1171,8 @@
 
        const t_string format = cfg["format"];
        if(format.empty() == false) {
-               ///@deprecated 1.9.2 Usage of 'format' instead or 'rand'
-               lg::wml_error << "Usage of 'format' is deprecated, use 'rand' 
instead, "
+               ///@deprecated 1.9.2 Usage of 'format' instead of 'value'
+               lg::wml_error << "Usage of 'format' is deprecated, use 
'value' instead, "
                        "support will be removed in 1.9.2.\n";
                var = format;
        }




Related Messages


Powered by MHonArc, Updated Mon Jul 26 15:40:14 2010