Revision: 19400
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=19400&view=rev
Author: rjongbloed
Date: 2008-02-04 20:24:23 -0800 (Mon, 04 Feb 2008)
Log Message:
-----------
Applied patch:
[ 1880786 ] Fix the first position result for GetPosition() in pxml.cxx
Thanks Stefano Sabatini - stesaba
Modified Paths:
--------------
ptlib/trunk/src/ptclib/pxml.cxx
Modified: ptlib/trunk/src/ptclib/pxml.cxx
===================================================================
--- ptlib/trunk/src/ptclib/pxml.cxx 2008-02-05 04:21:34 UTC (rev 19399)
+++ ptlib/trunk/src/ptclib/pxml.cxx 2008-02-05 04:24:23 UTC (rev 19400)
@@ -801,7 +801,7 @@
PXMLElement::PXMLElement(PXMLElement * _parent, const char * _name)
: PXMLObject(_parent)
{
- lineNumber = column = 0;
+ lineNumber = column = 1;
dirty = PFalse;
if (_name != NULL)
name = _name;
@@ -810,7 +810,7 @@
PXMLElement::PXMLElement(PXMLElement * _parent, const PString & _name, const PString & data)
: PXMLObject(_parent), name(_name)
{
- lineNumber = column = 0;
+ lineNumber = column = 1;
dirty = PFalse;
AddSubObject(new PXMLData(this, data));
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|