diff options
author | frosch <frosch@openttd.org> | 2013-06-01 14:33:48 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-01 14:33:48 +0000 |
commit | ce110eed32eef08e7ce1c35a2c5893698afee73a (patch) | |
tree | 0faa8ca975a1bf93428e6ac711692b7e79e7ec27 /src/strings_func.h | |
parent | f292a87dc499fdcf9ffaeaa6f1cd73fc998b31e3 (diff) | |
download | openttd-ce110eed32eef08e7ce1c35a2c5893698afee73a.tar.xz |
(svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them.
Diffstat (limited to 'src/strings_func.h')
-rw-r--r-- | src/strings_func.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings_func.h b/src/strings_func.h index f977b3b3c..dbdbf2842 100644 --- a/src/strings_func.h +++ b/src/strings_func.h @@ -155,8 +155,8 @@ static inline void SetDParam(uint n, uint64 v) _global_string_params.SetParam(n, v); } -void SetDParamMaxValue(uint n, uint64 max_value, uint min_count = 0); -void SetDParamMaxDigits(uint n, uint count); +void SetDParamMaxValue(uint n, uint64 max_value, uint min_count = 0, FontSize size = FS_NORMAL); +void SetDParamMaxDigits(uint n, uint count, FontSize size = FS_NORMAL); void SetDParamStr(uint n, const char *str); |