Skip to content

Commit

Permalink
Merge branch 'master' of ssh://deng.git.sourceforge.net/gitroot/deng/…
Browse files Browse the repository at this point in the history
…deng
  • Loading branch information
danij-deng committed Aug 27, 2012
2 parents 7c85f4a + 1118aca commit 994b3b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doomsday/engine/portable/src/def_read.c
Expand Up @@ -510,6 +510,17 @@ static int ReadFlags(int* dest, const char* prefix)
*dest = 0;

ReadToken();
if(ISTOKEN(";"))
{
SetError("Missing flags value.");
return false;
}
if(ISTOKEN("0"))
{
// No flags defined.
return true;
}

UnreadToken(token);
if(ISTOKEN("\""))
{
Expand Down

0 comments on commit 994b3b2

Please sign in to comment.