fix parseColorsStream

Fixes: 173dd75b31 ("Simplify color parsing code")
This commit is contained in:
Christophe Le Roy 2016-10-08 19:47:57 +02:00
parent 173dd75b31
commit 5558c3dd63
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ void TileGenerator::parseColorsStream(std::istream &in)
char line[128], *p;
while (in.good()) {
in.getline(line, 128);
p = line;
while(*p++ != '\0') {
if(*p != '#')
continue;