diff options
| author | navewindre <nw@moneybot.cc> | 2024-07-12 05:40:41 +0200 |
|---|---|---|
| committer | navewindre <nw@moneybot.cc> | 2024-07-12 05:40:41 +0200 |
| commit | 28f41cf689def99fb586bfca47b7e1786227a5a2 (patch) | |
| tree | 4a843c7785035ca548625ccf988ac924b8815f85 /src/conout.h | |
| parent | 2ebf959ec02048c15323e1bbfc63faedcf5067b6 (diff) | |
base shit
Diffstat (limited to 'src/conout.h')
| -rw-r--r-- | src/conout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conout.h b/src/conout.h index 3c6685b..73d75b1 100644 --- a/src/conout.h +++ b/src/conout.h @@ -123,7 +123,7 @@ inline STR<16> con_to_setting_str( bool setting ) { inline STR<16> con_to_setting_str( F32 setting ) { char buf[16]; - snprintf( buf, 16, "[%.02f]", (I32)( setting * 100 ) ); + snprintf( buf, 16, "[%.02f]", setting ); return buf; } |
