=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: make_xftmpl: Avoid comparing a char with EOF.
Alexandre Julliard
julliard at winehq.org
Tue Feb 12 13:58:12 CST 2013
Module: wine
Branch: master
Commit: a32199b3f3b755cd21b7135db05962a67ac318d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a32199b3f3b755cd21b7135db05962a67ac318d3
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Feb 12 16:21:04 2013 +0100
make_xftmpl: Avoid comparing a char with EOF.
---
tools/make_xftmpl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/make_xftmpl.c b/tools/make_xftmpl.c
index 85b373f..b5751ce 100644
--- a/tools/make_xftmpl.c
+++ b/tools/make_xftmpl.c
@@ -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;
More information about the wine-cvs
mailing list