mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 15:53:26 +01:00
formatting
This commit is contained in:
parent
649233b718
commit
704b787ec2
@ -115,31 +115,24 @@ void cmd_add(WINDOW *window, ToxWindow *prompt, Tox *m, int argc, char (*argv)[M
|
|||||||
case TOX_FAERR_TOOLONG:
|
case TOX_FAERR_TOOLONG:
|
||||||
wprintw(window, "Message is too long.\n");
|
wprintw(window, "Message is too long.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOX_FAERR_NOMESSAGE:
|
case TOX_FAERR_NOMESSAGE:
|
||||||
wprintw(window, "Please add a message to your request.\n");
|
wprintw(window, "Please add a message to your request.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOX_FAERR_OWNKEY:
|
case TOX_FAERR_OWNKEY:
|
||||||
wprintw(window, "That appears to be your own ID.\n");
|
wprintw(window, "That appears to be your own ID.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOX_FAERR_ALREADYSENT:
|
case TOX_FAERR_ALREADYSENT:
|
||||||
wprintw(window, "Friend request has already been sent.\n");
|
wprintw(window, "Friend request has already been sent.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOX_FAERR_UNKNOWN:
|
case TOX_FAERR_UNKNOWN:
|
||||||
wprintw(window, "Undefined error when adding friend.\n");
|
wprintw(window, "Undefined error when adding friend.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOX_FAERR_BADCHECKSUM:
|
case TOX_FAERR_BADCHECKSUM:
|
||||||
wprintw(window, "Bad checksum in address.\n");
|
wprintw(window, "Bad checksum in address.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TOX_FAERR_SETNEWNOSPAM:
|
case TOX_FAERR_SETNEWNOSPAM:
|
||||||
wprintw(window, "Nospam was different.\n");
|
wprintw(window, "Nospam was different.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
wprintw(window, "Friend request sent.\n");
|
wprintw(window, "Friend request sent.\n");
|
||||||
on_friendadded(m, num);
|
on_friendadded(m, num);
|
||||||
|
Loading…
Reference in New Issue
Block a user