make_xftmpl: Avoid comparing a char with EOF.

This commit is contained in:
André Hentschel 2013-02-12 16:21:04 +01:00 committed by Alexandre Julliard
parent 64ddb263d2
commit a32199b3f3
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ static BOOL parse_token(struct parser *parser)
if (len + 1 < sizeof(buffer))
buffer[len++] = c;
}
if (c == EOF) {
if (c != '"') {
fprintf(stderr, "%s: Unterminated string (line %d).\n",
program_name, parser->line_no);
parser->error = TRUE;