From: Mathnerd314 Date: Wed, 21 Jan 2009 23:56:30 +0000 (+0000) Subject: Fix another small logic error X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=86e5914510fc29f4decbb66a7d602872b6c8555e;p=supertux.git Fix another small logic error SVN-Revision: 5831 --- diff --git a/src/tinygettext/tinygettext.cpp b/src/tinygettext/tinygettext.cpp index 7ba2c6064..e780ded42 100644 --- a/src/tinygettext/tinygettext.cpp +++ b/src/tinygettext/tinygettext.cpp @@ -715,15 +715,14 @@ public: Token nextToken() { - if(c == EOF) - return TOKEN_EOF; - //Clear token contents tokenContent = ""; skipSpace(); - if(c != '"') + if(c == EOF) + return TOKEN_EOF; + else if(c != '"') { // Read a keyword do {