aboutsummaryrefslogtreecommitdiff
path: root/project/src/lib-std.c
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2022-10-27 12:06:47 +0200
committerWiimm <wiimm@wiimm.de>2022-10-27 12:06:47 +0200
commit6d27524f61a141dfa7c1c66b36bcb1f6b5728f3d (patch)
treeda113ccbfd746abea569d564999bc0038f59fe9f /project/src/lib-std.c
parent159e76837a2582682d81943b3fa963d72141337f (diff)
SZS v2.29a
Diffstat (limited to 'project/src/lib-std.c')
-rw-r--r--project/src/lib-std.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/project/src/lib-std.c b/project/src/lib-std.c
index 62c70c2..6a42013 100644
--- a/project/src/lib-std.c
+++ b/project/src/lib-std.c
@@ -808,6 +808,16 @@ char * PrintOptCompatible()
return buf;
}
+///////////////////////////////////////////////////////////////////////////////
+
+uint GetEncodedVersion()
+{
+ static uint code = 0;
+ if (!code)
+ code = EncodeVersion(VERSION);
+ return code;
+}
+
//
///////////////////////////////////////////////////////////////////////////////
/////////////// warnings ///////////////
@@ -4444,7 +4454,7 @@ enumError cmd_float()
}
}
- printf(" %04x %04x = %12.9g : %04x %04x %04x %04x = %22.18g : |%s|\n",
+ printf(" %04x %04x = %12.9g : %04x %04x %04x %04x = %24.18g : |%s|\n",
be16(w4+0), be16(w4+1), bef4(w4),
be16(w8+0), be16(w8+1), be16(w8+2), be16(w8+3), bef8(w8),
arg );