diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-03-29 04:34:05 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-03-29 04:34:05 +0000 |
commit | 9c9bc76198b433438247572e44594b93669a5f85 (patch) | |
tree | 9872d7ef85b1a0c1062d6526337607ceed5d0039 /src | |
parent | 557ad73a3539350ab29743a80ff011f4d27b25c7 (diff) | |
download | build-9c9bc76198b433438247572e44594b93669a5f85.tar.gz build-9c9bc76198b433438247572e44594b93669a5f85.tar.bz2 build-9c9bc76198b433438247572e44594b93669a5f85.tar.xz build-9c9bc76198b433438247572e44594b93669a5f85.zip |
Updated to use args instead of format in Bu::String.
Diffstat (limited to '')
-rw-r--r-- | src/variable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/variable.cpp b/src/variable.cpp index 494338d..6c9529c 100644 --- a/src/variable.cpp +++ b/src/variable.cpp | |||
@@ -273,11 +273,11 @@ Bu::String Variable::toString() const | |||
273 | break; | 273 | break; |
274 | 274 | ||
275 | case typeInt: | 275 | case typeInt: |
276 | sRet.format("%d", uVal.iVal ); | 276 | sRet = Bu::String("%1").arg( uVal.iVal ); |
277 | break; | 277 | break; |
278 | 278 | ||
279 | case typeFloat: | 279 | case typeFloat: |
280 | sRet.format("%f", uVal.fVal ); | 280 | sRet = Bu::String("%1").arg( uVal.fVal ); |
281 | break; | 281 | break; |
282 | 282 | ||
283 | case typeBool: | 283 | case typeBool: |