Alexandre Julliard : wpp: Line and column numbers must start at one.
Module: wine Branch: master Commit: b9b0bcbf3fb3adf05929880f3d6f94c170bafbd3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b9b0bcbf3fb3adf05929880f3d... Author: Alexandre Julliard <julliard(a)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();
participants (1)
-
Alexandre Julliard