(svn r17420) -Codechange: replace assert() by assert_compile() where possible

This commit is contained in:
smatz
2009-09-04 23:02:52 +00:00
parent ae9441aa46
commit 0bfea0646c
4 changed files with 5 additions and 5 deletions

View File

@@ -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;