Mercurial > hg > openttd
comparison src/network/network_gui.cpp @ 7931:44ff7a6d801f draft
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
author | skidd13 <skidd13@openttd.org> |
---|---|
date | Tue, 20 Nov 2007 13:35:54 +0000 |
parents | 4d13dbed828c |
children | 35aac28f0022 |
comparison
equal
deleted
inserted
replaced
7930:89b01facb974 | 7931:44ff7a6d801f |
---|---|
1684 static void ChatWindowWndProc(Window *w, WindowEvent *e) | 1684 static void ChatWindowWndProc(Window *w, WindowEvent *e) |
1685 { | 1685 { |
1686 switch (e->event) { | 1686 switch (e->event) { |
1687 case WE_CREATE: | 1687 case WE_CREATE: |
1688 SendWindowMessage(WC_NEWS_WINDOW, 0, WE_CREATE, w->height, 0); | 1688 SendWindowMessage(WC_NEWS_WINDOW, 0, WE_CREATE, w->height, 0); |
1689 SETBIT(_no_scroll, SCROLL_CHAT); // do not scroll the game with the arrow-keys | 1689 SetBit(_no_scroll, SCROLL_CHAT); // do not scroll the game with the arrow-keys |
1690 break; | 1690 break; |
1691 | 1691 |
1692 case WE_PAINT: { | 1692 case WE_PAINT: { |
1693 static const StringID chat_captions[] = { | 1693 static const StringID chat_captions[] = { |
1694 STR_NETWORK_CHAT_ALL_CAPTION, | 1694 STR_NETWORK_CHAT_ALL_CAPTION, |