commit | 35ce309f73472c723be6a19f69ba6cffcddbf622 | [log] [tgz] |
---|---|---|
author | Uli Kusterer <ulivc@zathras.de> | Sat Jan 25 03:37:16 2014 +0100 |
committer | Uli Kusterer <ulivc@zathras.de> | Sat Jan 25 03:37:16 2014 +0100 |
tree | e9f3b3e5a529605e85cef30a0c2250b3133f6ebc | |
parent | 2861a7e63afc7fed135a6578b04d11d0facce4de [diff] [blame] |
Urk, forgot to build this one after merging and goofed a bit.
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 6081856..fe5b437 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -1325,7 +1325,15 @@ } -void XMLElement::SetText( double v ) +void XMLElement::SetText( double v ) +{ + char buf[BUF_SIZE]; + XMLUtil::ToStr( v, buf, BUF_SIZE ); + SetText( buf ); +} + + +void XMLElement::SetText( long long v ) { char buf[BUF_SIZE]; XMLUtil::ToStr( v, buf, BUF_SIZE );