diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-24 11:47:37 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-29 10:07:30 +0200 |
commit | 08308d808c2ab3a6621762127eed6c46f16286c6 (patch) | |
tree | 1b0cc66d3169b27d8adf345e4304fe7c030e7ffb /src/table/currency_settings.ini | |
parent | e2f5d9e561b70aec85d67b4eea822ba49f0c20bf (diff) | |
download | openttd-08308d808c2ab3a6621762127eed6c46f16286c6.tar.xz |
Codechange: use separate pre and post callbacks for int settings
Diffstat (limited to 'src/table/currency_settings.ini')
-rw-r--r-- | src/table/currency_settings.ini | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/table/currency_settings.ini b/src/table/currency_settings.ini index 0714b1b93..449bbee98 100644 --- a/src/table/currency_settings.ini +++ b/src/table/currency_settings.ini @@ -9,7 +9,7 @@ static const SettingTable _currency_settings{ [post-amble] }; [templates] -SDT_VAR = SDT_VAR ($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat, $extra, $startup), +SDT_VAR = SDT_VAR ($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup), SDT_SSTR = SDT_SSTR($base, $var, $type, $flags, $guiflags, $def, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup), [validation] @@ -22,7 +22,6 @@ interval = 0 str = STR_NULL strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT strval = STR_NULL -proc = nullptr pre_cb = nullptr post_cb = nullptr load = nullptr |