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 /town_gui.c | |
parent | fd0305197ef5e50554ae06dd8e3ddd8238cbeca1 (diff) | |
download | openttd-6082507fea5070cfa7846a4bc9b0c02706fbeee7.tar.xz |
(svn r5609) CodeChange : Apply coding style
Diffstat (limited to 'town_gui.c')
-rw-r--r-- | town_gui.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/town_gui.c b/town_gui.c index 6512c42fc..8fe0dc1ab 100644 --- a/town_gui.c +++ b/town_gui.c @@ -110,7 +110,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e) { int y; - const Player* p; + const Player *p; int r; StringID str; @@ -219,7 +219,7 @@ static const WindowDesc _town_authority_desc = { static void ShowTownAuthorityWindow(uint town) { - Window* w = AllocateWindowDescFront(&_town_authority_desc, town); + Window *w = AllocateWindowDescFront(&_town_authority_desc, town); if (w != NULL) { w->vscroll.cap = 5; @@ -442,7 +442,7 @@ static void TownDirectoryWndProc(Window *w, WindowEvent *e) DoDrawString(_town_sort_order & 1 ? DOWNARROW : UPARROW, (_town_sort_order <= 1) ? 88 : 187, 15, 0x10); { - const Town* t; + const Town *t; int n = 0; uint16 i = w->vscroll.pos; int y = 28; @@ -489,7 +489,7 @@ static void TownDirectoryWndProc(Window *w, WindowEvent *e) if (id_v >= _num_town_sort) return; // click out of town bounds { - const Town* t = GetTown(_town_sort[id_v]); + const Town *t = GetTown(_town_sort[id_v]); assert(t->xy); ScrollMainWindowToTile(t->xy); @@ -519,7 +519,7 @@ static const WindowDesc _town_directory_desc = { void ShowTownDirectory(void) { - Window* w = AllocateWindowDescFront(&_town_directory_desc, 0); + Window *w = AllocateWindowDescFront(&_town_directory_desc, 0); if (w != NULL) { w->vscroll.cap = 16; |