dbertoni    00/04/12 11:52:57

  Modified:    c/src/DOMSupport DOMServices.cpp
  Log:
  Fixed for() scoping problem.
  
  Revision  Changes    Path
  1.6       +3 -1      xml-xalan/c/src/DOMSupport/DOMServices.cpp
  
  Index: DOMServices.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/DOMSupport/DOMServices.cpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DOMServices.cpp   2000/04/11 14:30:44     1.5
  +++ DOMServices.cpp   2000/04/12 18:52:57     1.6
  @@ -119,7 +119,9 @@
   
        const unsigned int      theLength = length(theData);
   
  -     for (unsigned int i = 0; i < theLength; i++)
  +     unsigned int i = 0;
  +
  +     for (; i < theLength; i++)
        {
                const XalanDOMChar      theChar = charAt(theData, i);
   
  
  
  

Reply via email to