(svn r17228) -Codechange: some coding style fixes

This commit is contained in:
rubidium
2009-08-20 10:23:39 +00:00
parent 70db6bf74f
commit c096e3d54c
13 changed files with 47 additions and 34 deletions

View File

@@ -1028,8 +1028,7 @@ struct MessageOptionsWindow : Window {
Dimension d = {0, 0};
for (const StringID *str = message_opt; *str != INVALID_STRING_ID; str++) d = maxdim(d, GetStringBoundingBox(*str));
size->width = d.width + padding.width + MOS_BUTTON_SPACE; // A bit extra for better looks.
}
else if (widget == WIDGET_NEWSOPT_SOUNDTICKER) {
} else if (widget == WIDGET_NEWSOPT_SOUNDTICKER) {
size->width += MOS_BUTTON_SPACE; // A bit extra for better looks.
}
return;