mail[Wesnoth-commits] r33383 - /trunk/src/titlescreen.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by kailoran on March 07, 2009 - 15:53:
Author: ilor
Date: Sat Mar  7 15:53:43 2009
New Revision: 33383

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33383&view=rev
Log:
clarify previous commit about a msvc warning

Modified:
    trunk/src/titlescreen.cpp

Modified: trunk/src/titlescreen.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/titlescreen.cpp?rev=33383&r1=33382&r2=33383&view=diff
==============================================================================
--- trunk/src/titlescreen.cpp (original)
+++ trunk/src/titlescreen.cpp Sat Mar  7 15:53:43 2009
@@ -526,7 +526,7 @@
        update_whole_screen();
        background_is_dirty_ = false;
 
-       titlescreen_handler ts_handler(key[SDLK_ESCAPE] != false);
+       titlescreen_handler ts_handler(key[SDLK_ESCAPE] != 0); //!= 0 to 
avoid a MSVC warning C4800
 
        LOG_DP << "entering interactive loop...\n";
 




Related Messages


Powered by MHonArc, Updated Sat Mar 07 16:20:32 2009