diff options
author | rubidium <rubidium@openttd.org> | 2006-12-04 13:57:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-12-04 13:57:04 +0000 |
commit | 9a87e1e0ea23e4ca76ebc1b2d9bcc08110d5a674 (patch) | |
tree | 125f99fe661d756d29ba145bd871e0d44430dfd4 /yapf/yapf_ship.cpp | |
parent | 756d6a6efb64d0025e24fc4ea98b37d93d17868c (diff) | |
download | openttd-9a87e1e0ea23e4ca76ebc1b2d9bcc08110d5a674.tar.xz |
(svn r7356) -Codechange: replace 'for (i = 0, wi = w->widget; wi->type != WWT_LAST; i++, wi++)' type for loops with 'for (i = 0; i < w->window_count; i++) { wi = &w->widget[i];'-type for loops for better readability.
-Codechange: use IsWindowWidget(Disabled|Hidden) in favor of IsWidget(Disabled|Hidden).
Diffstat (limited to 'yapf/yapf_ship.cpp')
0 files changed, 0 insertions, 0 deletions