You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2003/12/28 22:05:57 UTC

cvs commit: xml-xalan/c/src/xalanc/XalanDOM XalanDOMString.cpp

dbertoni    2003/12/28 13:05:57

  Modified:    c/src/xalanc/XalanDOM XalanDOMString.cpp
  Log:
  Fixed  bug getting number of characters to erase.  See Bugzilla 25693.
  
  Revision  Changes    Path
  1.5       +1 -1      xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
  
  Index: XalanDOMString.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XalanDOMString.cpp	17 Nov 2003 21:13:11 -0000	1.4
  +++ XalanDOMString.cpp	28 Dec 2003 21:05:56 -0000	1.5
  @@ -205,7 +205,7 @@
   	invariants();
   
   	const size_type		theActualCount =
  -			theCount == size_type(npos) ? length() : theCount;
  +			theCount == size_type(npos) ? length() - theStartPosition : theCount;
   
   	if (theStartPosition == 0 && theCount >= size())
   	{
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org