Author: suokko
Date: Wed May 28 11:43:08 2008
New Revision: 26896

URL: http://svn.gna.org/viewcvs/wesnoth?rev=26896&view=rev
Log:
Fixed compilation of no_strip

Modified:
    branches/1.4/src/serialization/tokenizer.cpp

Modified: branches/1.4/src/serialization/tokenizer.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.4/src/serialization/tokenizer.cpp?rev=26896&r1=26895&r2=26896&view=diff
==============================================================================
--- branches/1.4/src/serialization/tokenizer.cpp (original)
+++ branches/1.4/src/serialization/tokenizer.cpp Wed May 28 11:43:08 2008
@@ -155,12 +155,12 @@
                                token_.type = token::UNTERMINATED_QSTRING;
                                break;
                        }
-                       if(current_ == '"' && peek_char_no_strip() != '"')
+                       if(current_ == '"' && peek_char() != '"')
                                break;
-                       if(current_ == '"' && peek_char_no_strip() == '"')
+                       if(current_ == '"' && peek_char() == '"')
                                next_char_fast_no_strip();
                        if (current_ == 254 && 
-                                       (peek_char_no_strip() == 'l' || 
peek_char_no_strip() == 't')) {
+                                       (peek_char() == 'l' || peek_char() == 
't')) {
                                next_char_fast_no_strip();
                                if ((current_ == 'l' && peek_char_no_strip() == 
'i') || (current_ == 't' && peek_char_no_strip() == 'e'))
                                {


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to