diff options
author | smatz <smatz@openttd.org> | 2009-09-04 23:02:52 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-04 23:02:52 +0000 |
commit | 0bfea0646c93e627cbf2f358aea57dbf8eb8abfe (patch) | |
tree | 618ffc9ef0a15953d1b016302bef2643c9387722 /src/misc_gui.cpp | |
parent | ae9441aa4628e2e559ea8f7e490e13ea0be34bab (diff) | |
download | openttd-0bfea0646c93e627cbf2f358aea57dbf8eb8abfe.tar.xz |
(svn r17420) -Codechange: replace assert() by assert_compile() where possible
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 4e5a1d93d..e03224cf9 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -788,7 +788,7 @@ struct TooltipsWindow : public Window Window(x, y, width, height, WC_TOOLTIPS, widget) { this->string_id = str; - assert(sizeof(this->params[0]) == sizeof(params[0])); + assert_compile(sizeof(this->params[0]) == sizeof(params[0])); assert(paramcount <= lengthof(this->params)); memcpy(this->params, params, sizeof(this->params[0]) * paramcount); this->paramcount = paramcount; |