[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-cvs
Subject:    cvs commit: xml-xerces/c/src/util XMLBigInteger.cpp
From:       knoaman () apache ! org
Date:       2001-05-31 17:50:29
[Download RAW message or body]

knoaman     01/05/31 10:50:28

  Modified:    c/src/util XMLBigInteger.cpp
  Log:
  small modification to XMLBigInteger::toString.
  
  Revision  Changes    Path
  1.5       +5 -1      xml-xerces/c/src/util/XMLBigInteger.cpp
  
  Index: XMLBigInteger.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/XMLBigInteger.cpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLBigInteger.cpp	2001/05/18 20:17:57	1.4
  +++ XMLBigInteger.cpp	2001/05/31 17:50:26	1.5
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: XMLBigInteger.cpp,v $
  + * Revision 1.5  2001/05/31 17:50:26  knoaman
  + * small modification to XMLBigInteger::toString.
  + *
    * Revision 1.4  2001/05/18 20:17:57  tng
    * Schema: More exception messages in \
                XMLBigDecimal/XMLBigInteger/DecimalDatatypeValidator.  By Pei Yong \
                Zhang.
    *
  @@ -333,7 +336,8 @@
       // Add the leading sign here    
       int strLen = XMLString::stringLen(fMagnitude);
       XMLCh* retBuf = new XMLCh[strLen+2];
  -    (fSign == 1)? retBuf[0] = chPlus : retBuf[0] = chDash;
  +    
  +    retBuf[0] = (fSign == 1) ? chPlus : chDash;
       XMLString::moveChars(&(retBuf[1]), &(fMagnitude[0]), strLen);
       retBuf[strLen+1] = chNull;
   
  
  
  

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic