Alexandre Julliard : wpp: Line and column numbers must start at one.

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:36:46 CDT 2011


Module: wine
Branch: stable
Commit: bc3d7f0ffac60850746011e8eaa23f917bd2d518
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bc3d7f0ffac60850746011e8eaa23f917bd2d518

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.
(cherry picked from commit b9b0bcbf3fb3adf05929880f3d6f94c170bafbd3)

---

 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