aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/variable.cpp4
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: