summaryrefslogtreecommitdiff
path: root/src/strgen
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-16 12:59:47 +0000
committerrubidium <rubidium@openttd.org>2009-01-16 12:59:47 +0000
commitb1a33a494f7a9510f600cb18e771b35905597be6 (patch)
treeeef2f6bd0f7e1c471cd04882c93477dbfe6df764 /src/strgen
parentcdd3676478bc50ec10960146034e93d522c86142 (diff)
downloadopenttd-b1a33a494f7a9510f600cb18e771b35905597be6.tar.xz
(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings.
Diffstat (limited to 'src/strgen')
-rw-r--r--src/strgen/strgen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strgen/strgen.cpp b/src/strgen/strgen.cpp
index a837d7515..0c6c8b133 100644
--- a/src/strgen/strgen.cpp
+++ b/src/strgen/strgen.cpp
@@ -489,6 +489,7 @@ static const CmdStruct _cmd_structs[] = {
// Numbers
{"COMMA", EmitSingleChar, SCC_COMMA, 1, 0}, // Number with comma
{"NUM", EmitSingleChar, SCC_NUM, 1, 0}, // Signed number
+ {"BYTES", EmitSingleChar, SCC_BYTES, 1, 0}, // Unsigned number with "bytes", i.e. "1.02 MiB or 123 KiB"
{"CURRENCY", EmitSingleChar, SCC_CURRENCY, 1, 0},