diff options
| author | Dusan Durech <dusan@debian.debian> | 2009-04-12 23:22:23 +0200 |
|---|---|---|
| committer | Dusan Durech <dusan@debian.debian> | 2009-04-12 23:22:23 +0200 |
| commit | 135d593deef607dcf5c8f5dabcd579ea1719fe01 (patch) | |
| tree | 15ddf0e546ed7e9a14ac60a1d01feb8552277b22 /src/client/chat.c | |
| parent | 0287f62578cb4aa643649a9d62dc753586b16b30 (diff) | |
fix bad prefixes and names every one
Diffstat (limited to 'src/client/chat.c')
| -rw-r--r-- | src/client/chat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/chat.c b/src/client/chat.c index d039dcc..40296da 100644 --- a/src/client/chat.c +++ b/src/client/chat.c @@ -38,7 +38,7 @@ static void chat_eventDisable(); static void hotkey_chat_esc() { //printf("*** hotkey_chat_esc\n"); - //unhot_key_register(SDLK_ESCAPE); + //hot_key_unregister(SDLK_ESCAPE); chat_eventDisable(); } @@ -168,7 +168,7 @@ static void sendNewMessage() char out[STR_PROTO_SIZE]; snprintf(out, STR_PROTO_SIZE, "chat %s:%s\n", - word_get_control_tux(TUX_CONTROL_KEYBOARD_RIGHT)->name, line); + world_get_control_tux(TUX_CONTROL_KEYBOARD_RIGHT)->name, line); proto_send_chat_server(PROTO_SEND_ALL, NULL, out); } @@ -181,7 +181,7 @@ static void chat_eventDisable() hot_key_enable(SDLK_RETURN); hot_key_enable(SDLK_p); - unhot_key_register(SDLK_ESCAPE); + hot_key_unregister(SDLK_ESCAPE); interface_disable_keyboard_buffer(); keyboard_buffer_clear(); @@ -253,6 +253,6 @@ void chat_quit() { assert(listText != NULL); - //unhot_key_register(SDLK_RETURN); + //hot_key_unregister(SDLK_RETURN); list_destroy_item(listText, free); } |