You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2004/05/05 12:53:08 UTC

cvs commit: xml-xerces/c/tools/NLS/Xlat Xlat.cpp

amassari    2004/05/05 03:53:08

  Modified:    c/tools/NLS/Xlat Xlat.cpp
  Log:
  Make it compile again on Windows
  
  Revision  Changes    Path
  1.20      +7 -3      xml-xerces/c/tools/NLS/Xlat/Xlat.cpp
  
  Index: Xlat.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tools/NLS/Xlat/Xlat.cpp,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Xlat.cpp	20 Apr 2004 15:30:49 -0000	1.19
  +++ Xlat.cpp	5 May 2004 10:53:08 -0000	1.20
  @@ -57,6 +57,9 @@
   
   /*
    * $Log$
  + * Revision 1.20  2004/05/05 10:53:08  amassari
  + * Make it compile again on Windows
  + *
    * Revision 1.19  2004/04/20 15:30:49  peiyongz
    * to generate code for private default constructor
    *
  @@ -469,14 +472,15 @@
           wprintf(L"Parser init error.\n  ERROR: %s\n\n", toCatch.getMessage());
           return ErrReturn_ParserInit;
       }
  -    	
  +    
  +    int i;
       XMLCh** newArgV = new XMLCh*[argC];
  -    for(int i=0;i<argC; i++) 
  +    for(i=0;i<argC; i++) 
       {
           newArgV[i] = XMLString::transcode(argV[i]);
       }
       int toReturn = (Xlat_main(argC,newArgV));
  -    for (int i=0; i<argC; i++) 
  +    for (i=0; i<argC; i++) 
       {
           delete [] newArgV[i];
       }
  
  
  

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