equal
deleted
inserted
replaced
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, |