Author: shadowmaster
Date: Wed Mar 21 10:04:55 2012
New Revision: 53595
URL: http://svn.gna.org/viewcvs/wesnoth?rev=53595&view=rev
Log:
gui2/tsimple_item_selector: Fix doxygen comment to reflect reality
No, we don't return the old index when cancelled; we always return -1.
Modified:
trunk/src/gui/dialogs/simple_item_selector.hpp
Modified: trunk/src/gui/dialogs/simple_item_selector.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/dialogs/simple_item_selector.hpp?rev=53595&r1=53594&r2=53595&view=diff
==============================================================================
--- trunk/src/gui/dialogs/simple_item_selector.hpp (original)
+++ trunk/src/gui/dialogs/simple_item_selector.hpp Wed Mar 21 10:04:55 2012
@@ -37,7 +37,7 @@
/**
* Returns the selected item index after displaying.
- * @return -1 or the originally set index if the dialog was cancelled.
+ * @return -1 if the dialog was cancelled.
*/
int selected_index() const { return index_; }
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits