summaryrefslogtreecommitdiff
path: root/src/table/currency_settings.ini
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-27 18:14:44 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-04-27 19:41:51 +0200
commitb54d8a49fb8d635545b2251bfdf41ebee60edc0c (patch)
treefee346a620a7b5f3c590459eac8cf806c090b0d3 /src/table/currency_settings.ini
parent4880ec29e4649655e775c36cd6bd8c0927d13ee1 (diff)
downloadopenttd-b54d8a49fb8d635545b2251bfdf41ebee60edc0c.tar.xz
Feature: allow non-ASCII currency separators
Diffstat (limited to 'src/table/currency_settings.ini')
-rw-r--r--src/table/currency_settings.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/currency_settings.ini b/src/table/currency_settings.ini
index c242c83a8..3e51d0240 100644
--- a/src/table/currency_settings.ini
+++ b/src/table/currency_settings.ini
@@ -10,7 +10,6 @@ static const SettingDesc _currency_settings[] = {
};
[templates]
SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
-SDT_CHR = SDT_CHR($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDT_STR = SDT_STR($base, $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup),
SDT_END = SDT_END()
@@ -42,9 +41,10 @@ def = 1
min = 0
max = UINT16_MAX
-[SDT_CHR]
+[SDT_STR]
base = CurrencySpec
var = separator
+type = SLE_STRBQ
def = "".""
cat = SC_BASIC