Author: brunowolff
Date: Wed Mar 19 18:00:29 2008
New Revision: 24851
URL: http://svn.gna.org/viewcvs/wesnoth?rev=24851&view=rev
Log:
Silence gcc 4.3 warning by adding parens around && clause near ||.
Modified:
trunk/src/game_display.cpp
Modified: trunk/src/game_display.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game_display.cpp?rev=24851&r1=24850&r2=24851&view=diff
==============================================================================
--- trunk/src/game_display.cpp (original)
+++ trunk/src/game_display.cpp Wed Mar 19 18:00:29 2008
@@ -1201,7 +1201,7 @@
if (preferences::is_ignored(sender)) return;
if (bell) {
- if (type == MESSAGE_PRIVATE && (!is_observer() || whisper)
+ if ((type == MESSAGE_PRIVATE && (!is_observer() || whisper))
|| utils::word_match(message, preferences::login())) {
sound::play_UI_sound(game_config::sounds::receive_message_highlight);
} else if (preferences::is_friend(sender)) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits