Author: ai0867
Date: Wed Dec 3 14:39:06 2008
New Revision: 31246
URL: http://svn.gna.org/viewcvs/wesnoth?rev=31246&view=rev
Log:
Standardise some syntax.
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=31246&r1=31245&r2=31246&view=diff
==============================================================================
--- trunk/src/game_events.cpp (original)
+++ trunk/src/game_events.cpp Wed Dec 3 14:39:06 2008
@@ -1479,7 +1479,7 @@
for(ti = types.begin(); ti != types.end(); ++ti) {
config item = cfg.get_config();
// Do not try to match an empty string
- if ( ! (*ti).empty() ) {
+ if (!ti->empty()) {
item["type"] = *ti;
}
item["role"] = "";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits