From 86e5914510fc29f4decbb66a7d602872b6c8555e Mon Sep 17 00:00:00 2001 From: Mathnerd314 Date: Wed, 21 Jan 2009 23:56:30 +0000 Subject: [PATCH] Fix another small logic error SVN-Revision: 5831 --- src/tinygettext/tinygettext.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 { -- 2.11.0