Alexandre Julliard : wpp: Line and column numbers must start at one.
Alexandre Julliard
julliard at winehq.org
Thu Dec 30 10:49:56 CST 2010
Module: wine
Branch: master
Commit: b9b0bcbf3fb3adf05929880f3d6f94c170bafbd3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b9b0bcbf3fb3adf05929880f3d6f94c170bafbd3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Dec 30 13:08:43 2010 +0100
wpp: Line and column numbers must start at one.
---
libs/wpp/wpp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/wpp/wpp.c b/libs/wpp/wpp.c
index 582ad6f..41ac54f 100644
--- a/libs/wpp/wpp.c
+++ b/libs/wpp/wpp.c
@@ -168,8 +168,8 @@ int wpp_parse( const char *input, FILE *output )
int ret;
pp_status.input = NULL;
- pp_status.line_number = 0;
- pp_status.char_number = 0;
+ pp_status.line_number = 1;
+ pp_status.char_number = 1;
pp_status.state = 0;
ret = pp_push_define_state();
More information about the wine-cvs
mailing list