Author: brunowolff
Date: Wed Mar 19 18:09:25 2008
New Revision: 24854
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24854&view=rev
Log:
Silence gcc 4.3 warning by adding parens around && clause near ||.
Modified:
trunk/src/intro.cpp
Modified: trunk/src/intro.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/intro.cpp?rev=24854&r1=24853&r2=24854&view=diff
==============================================================================
--- trunk/src/intro.cpp (original)
+++ trunk/src/intro.cpp Wed Mar 19 18:09:25 2008
@@ -338,7 +338,7 @@
const bool keydown = key[SDLK_SPACE] || key[SDLK_RETURN] ||
key[SDLK_KP_ENTER];
- if(keydown && !last_key || next_button.pressed()) {
+ if((keydown && !last_key) || next_button.pressed()) {
if(skip == true || itor ==
utils::utf8_iterator::end(story)) {
break;
} else {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits