You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by kn...@apache.org on 2001/05/31 19:50:29 UTC
cvs commit: xml-xerces/c/src/util XMLBigInteger.cpp
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