mail[Wesnoth-commits] r28847 - /trunk/src/campaign_server/campaign_server.cpp


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

Header


Content

Posted by paniemin on August 22, 2008 - 19:14:
Author: suokko
Date: Fri Aug 22 19:14:49 2008
New Revision: 28847

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28847&view=rev
Log:
Fix comparision instead of assing

Modified:
    trunk/src/campaign_server/campaign_server.cpp

Modified: trunk/src/campaign_server/campaign_server.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/campaign_server/campaign_server.cpp?rev=28847&r1=28846&r2=28847&view=diff
==============================================================================
--- trunk/src/campaign_server/campaign_server.cpp (original)
+++ trunk/src/campaign_server/campaign_server.cpp Fri Aug 22 19:14:49 2008
@@ -316,7 +316,7 @@
                                        unsigned char c = in_filter.get();
                                        while( in_filter.good())
                                        {
-                                               if (needs_escaping(c) && c = 
'\x01')
+                                               if (needs_escaping(c) && c == 
'\x01')
                                                {
                                                        
out_filter.put('\x01');
                                                        out_filter.put(c+1);




Related Messages


Powered by MHonArc, Updated Fri Aug 22 19:21:16 2008