1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 16:16:46 +02:00

awhen atoi returns 0 on invalid input we don't want that to count as valid

This commit is contained in:
Jfreegman
2013-10-20 07:16:26 -04:00
parent 77de8dd116
commit 407d28bf5d
3 changed files with 9 additions and 10 deletions

View File

@ -99,7 +99,7 @@ static void print_prompt_help(ToxWindow *self)
wprintw(self->window, " /accept <n> : Accept friend request\n");
wprintw(self->window, " /connect <ip> <port> <key> : Manually connect to a DHT server\n");
wprintw(self->window, " /status <type> <message> : Set your status with optional note\n");
wprintw(self->window, " /note <message> : Set a personal note\n");
wprintw(self->window, " /note <message> : Set a personal note\n");
wprintw(self->window, " /nick <nickname> : Set your nickname\n");
wprintw(self->window, " /join <n> : Join a group chat\n");
wprintw(self->window, " /groupchat : Create a group chat\n");