diff options
author | Jfreegman <Jfreegman@gmail.com> | 2013-08-01 15:27:08 -0400 |
---|---|---|
committer | Jfreegman <Jfreegman@gmail.com> | 2013-08-01 15:27:08 -0400 |
commit | 8abc0a346209512901254f981dab62c67a632f4a (patch) | |
tree | faf445c6c9f4f8596d56118a335e0d1858a6957b /testing/toxic/prompt.c | |
parent | a604de901702eabcdc73507025e77e34db6a9266 (diff) |
added error code for no message on friend add & updated nTox.c/nTox_win32.c
Diffstat (limited to 'testing/toxic/prompt.c')
-rw-r--r-- | testing/toxic/prompt.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/testing/toxic/prompt.c b/testing/toxic/prompt.c index 6970441f..21c1f52a 100644 --- a/testing/toxic/prompt.c +++ b/testing/toxic/prompt.c | |||
@@ -138,13 +138,15 @@ static void execute(ToxWindow* self, char* cmd) { | |||
138 | wprintw(self->window, "Message is too long.\n"); | 138 | wprintw(self->window, "Message is too long.\n"); |
139 | break; | 139 | break; |
140 | case -2: | 140 | case -2: |
141 | wprintw(self->window, "Please add a message to your request.\n"); | ||
142 | case -3: | ||
141 | wprintw(self->window, "That appears to be your own ID.\n"); | 143 | wprintw(self->window, "That appears to be your own ID.\n"); |
142 | break; | 144 | break; |
143 | case -3: | 145 | case -4: |
144 | wprintw(self->window, "Friend request already sent.\n"); | 146 | wprintw(self->window, "Friend request already sent.\n"); |
145 | break; | 147 | break; |
146 | case -4: | 148 | case -5: |
147 | wprintw(self->window, "Invalid ID.\n"); | 149 | wprintw(self->window, "[i] Undefined error when adding friend.\n"); |
148 | break; | 150 | break; |
149 | default: | 151 | default: |
150 | wprintw(self->window, "Friend added as %d.\n", num); | 152 | wprintw(self->window, "Friend added as %d.\n", num); |