From 29bc9cbf35d150261652729e5336dc9c3b28ea7b Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 28 Oct 2012 01:16:01 +0000 Subject: [PATCH] - Change the formatting for floating immediates in the dissasembly to %g. SVN r3917 (scripting) --- src/zscript/vmdisasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zscript/vmdisasm.cpp b/src/zscript/vmdisasm.cpp index fed5eb39a2..81eb50bbac 100644 --- a/src/zscript/vmdisasm.cpp +++ b/src/zscript/vmdisasm.cpp @@ -370,7 +370,7 @@ static int print_reg(FILE *out, int col, int arg, int mode, int immshift, const case MODE_KF: if (func != NULL) { - return col+printf_wrapper(out, "%f", func->KonstF[arg]); + return col+printf_wrapper(out, "%g", func->KonstF[arg]); } return col+printf_wrapper(out, "kf%d", arg); case MODE_KS: