libxml2 r3670 - trunk



Author: veillard
Date: Fri Jan 11 06:10:16 2008
New Revision: 3670
URL: http://svn.gnome.org/viewvc/libxml2?rev=3670&view=rev

Log:
* parser.c: applied patch from Christian Schmidt fixing a 
  column counter update problem, fixes #472696
Daniel


Modified:
   trunk/ChangeLog
   trunk/parser.c

Modified: trunk/parser.c
==============================================================================
--- trunk/parser.c	(original)
+++ trunk/parser.c	Fri Jan 11 06:10:16 2008
@@ -3535,7 +3535,7 @@
 	in = ctxt->input->cur;
 	do {
 get_more_space:
-	    while (*in == 0x20) in++;
+	    while (*in == 0x20) { in++; ctxt->input->col++; }
 	    if (*in == 0xA) {
 		do {
 		    ctxt->input->line++; ctxt->input->col = 1;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]