Author: brunowolff
Date: Wed Mar 19 17:04:41 2008
New Revision: 24834

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24834&view=rev
Log:
Silence gcc 4.3 warning by adding braces to avoid ambiguous else.

Modified:
    trunk/src/theme.cpp

Modified: trunk/src/theme.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/theme.cpp?rev=24834&r1=24833&r2=24834&view=diff
==============================================================================
--- trunk/src/theme.cpp (original)
+++ trunk/src/theme.cpp Wed Mar 19 17:04:41 2008
@@ -535,8 +535,9 @@
        }
 
        if(current == resolutions.end()) {
-               if(!resolutions.empty())
+               if(!resolutions.empty()) {
                        LOG_STREAM(err, display) << "No valid resolution 
found\n";
+               }
                return false;
        }
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to