diff options
author | belugas <belugas@openttd.org> | 2006-07-26 03:33:12 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-07-26 03:33:12 +0000 |
commit | 6082507fea5070cfa7846a4bc9b0c02706fbeee7 (patch) | |
tree | 49db495ba0ae909a8a9645176b5b5b72483be02f /industry_gui.c | |
parent | fd0305197ef5e50554ae06dd8e3ddd8238cbeca1 (diff) | |
download | openttd-6082507fea5070cfa7846a4bc9b0c02706fbeee7.tar.xz |
(svn r5609) CodeChange : Apply coding style
Diffstat (limited to 'industry_gui.c')
-rw-r--r-- | industry_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/industry_gui.c b/industry_gui.c index 597a018b7..5d55ecf67 100644 --- a/industry_gui.c +++ b/industry_gui.c @@ -279,7 +279,7 @@ static void IndustryViewWndProc(Window *w, WindowEvent *e) switch (e->event) { case WE_PAINT: { - const Industry* i = GetIndustry(w->window_number); + const Industry *i = GetIndustry(w->window_number); SetDParam(0, w->window_number); DrawWindowWidgets(w); @@ -433,7 +433,7 @@ static const WindowDesc _industry_view_desc = { void ShowIndustryViewWindow(int industry) { - Window* w = AllocateWindowDescFront(&_industry_view_desc, industry); + Window *w = AllocateWindowDescFront(&_industry_view_desc, industry); if (w != NULL) { w->flags4 |= WF_DISABLE_VP_SCROLL; @@ -571,7 +571,7 @@ static void IndustryDirectoryWndProc(Window *w, WindowEvent *e) n = 0; while (p < _num_industry_sort) { - const Industry* i = GetIndustry(_industry_sort[p]); + const Industry *i = GetIndustry(_industry_sort[p]); SetDParam(0, i->index); if (i->produced_cargo[0] != CT_INVALID) { @@ -658,7 +658,7 @@ static const WindowDesc _industry_directory_desc = { void ShowIndustryDirectory(void) { - Window* w = AllocateWindowDescFront(&_industry_directory_desc, 0); + Window *w = AllocateWindowDescFront(&_industry_directory_desc, 0); if (w != NULL) { w->vscroll.cap = 16; |