mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 03:13:01 +01:00
Ran it through astyle
This commit is contained in:
parent
6196c1f4eb
commit
ccfff8b305
1
prompt.c
1
prompt.c
@ -273,6 +273,7 @@ void cmd_nick(ToxWindow *self, Messenger *m, char **args)
|
|||||||
char *nick = args[1];
|
char *nick = args[1];
|
||||||
setname(m, (uint8_t *) nick, strlen(nick) + 1);
|
setname(m, (uint8_t *) nick, strlen(nick) + 1);
|
||||||
wprintw(self->window, "Nickname set to: %s\n", nick);
|
wprintw(self->window, "Nickname set to: %s\n", nick);
|
||||||
|
|
||||||
if (store_data(m, DATA_FILE)) {
|
if (store_data(m, DATA_FILE)) {
|
||||||
wprintw(self->window, "\nCould not store Messenger data\n");
|
wprintw(self->window, "\nCould not store Messenger data\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user