mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
Use "%#g" when disassembly floating point constants
- With "%g", there would be no decimal point if the number had no fractional part, making the output indistinguishable from integers.
This commit is contained in:
parent
5d3e413d42
commit
05843d3b13
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,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, "%g", func->KonstF[arg]);
|
||||
return col+printf_wrapper(out, "%#g", func->KonstF[arg]);
|
||||
}
|
||||
return col+printf_wrapper(out, "kf%d", arg);
|
||||
case MODE_KS:
|
||||
|
|
Loading…
Reference in a new issue