mail[Wesnoth-commits] r24824 - /trunk/src/font.cpp


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

Header


Content

Posted by bruno on March 19, 2008 - 16:49:
Author: brunowolff
Date: Wed Mar 19 16:49:23 2008
New Revision: 24824

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24824&view=rev
Log:
Silence gcc 4.3 warning by adding parens around && clause near ||.

Modified:
    trunk/src/font.cpp

Modified: trunk/src/font.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/font.cpp?rev=24824&r1=24823&r2=24824&view=diff
==============================================================================
--- trunk/src/font.cpp (original)
+++ trunk/src/font.cpp Wed Mar 19 16:49:23 2008
@@ -66,7 +66,7 @@
        };
        bool operator<(const font_id& o) const
        {
-               return subset < o.subset || subset == o.subset && size < 
o.size;
+               return subset < o.subset || (subset == o.subset && size < 
o.size);
        };
 
        subset_id subset;




Related Messages


Powered by MHonArc, Updated Wed Mar 19 17:21:39 2008