mail[Wesnoth-commits] r29015 - /trunk/src/editor2/editor_controller.cpp


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

Header


Content

Posted by esr on August 27, 2008 - 11:05:
Author: esr
Date: Wed Aug 27 10:08:30 2008
New Revision: 29015

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29015&view=rev
Log:
Another comment fix.  No code changes.

Modified:
    trunk/src/editor2/editor_controller.cpp

Modified: trunk/src/editor2/editor_controller.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=29015&r1=29014&r2=29015&view=diff
==============================================================================
--- trunk/src/editor2/editor_controller.cpp (original)
+++ trunk/src/editor2/editor_controller.cpp Wed Aug 27 10:08:30 2008
@@ -403,8 +403,9 @@
                editor_map new_map(game_config_, map_string);
                get_map_context().set_filename(filename);
                set_map(new_map);
-               //TODO when this fails see if it's a scenario with a mapdata= 
key and give
-               //the user an option of loading that map instead of just 
failing
+               //TODO when this fails see if it's a scenario with a
+               //mapdata= key and give the user an option of loading
+               //that map instead of just failing
        } catch (gamemap::incorrect_format_exception& e) {
                std::string message = _("There was an error while loading the 
map:");
                message += "\n";
@@ -939,8 +940,11 @@
                        if (!get_map().on_board_with_border(hex_clicked)) 
return;
                        a = get_mouse_action()->drag_right(*gui_, x, y, 
partial, last_undo);
                }
-               //Partial means that the mouse action has modified the last 
undo action and the controller shouldn't add
-               //anything to the undo stack (hence a diferent perform_ call
+
+               //Partial means that the mouse action has modified the
+               //last undo action and the controller shouldn't add
+               //anything to the undo stack (hence a different
+               //perform_ call)
                if (a != NULL) {
                        std::auto_ptr<editor_action> aa(a);
                        if (partial) {




Related Messages


Powered by MHonArc, Updated Wed Aug 27 11:22:59 2008