projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ea8c3
)
Fix another small logic error
author
Mathnerd314
<man.is.allan@gmail.com>
Wed, 21 Jan 2009 23:56:30 +0000
(23:56 +0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Wed, 21 Jan 2009 23:56:30 +0000
(23:56 +0000)
SVN-Revision: 5831
src/tinygettext/tinygettext.cpp
patch
|
blob
|
history
diff --git
a/src/tinygettext/tinygettext.cpp
b/src/tinygettext/tinygettext.cpp
index
7ba2c60
..
e780ded
100644
(file)
--- 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 {