1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 00:53:03 +01:00

small fix

This commit is contained in:
Jfreegman 2013-09-05 18:36:46 -04:00
parent 2040368dd9
commit 3ddae51998
2 changed files with 1 additions and 2 deletions

View File

@ -494,6 +494,7 @@ static void chat_onInit(ToxWindow *self, Tox *m)
ctx->history = subwin(self->window, y-3, x, 0, 0);
scrollok(ctx->history, 1);
ctx->linewin = subwin(self->window, 0, x, y-4, 0);
wprintw(ctx->history, "\n\n");
print_help(ctx);
wmove(self->window, y - CURS_Y_OFFSET, 0);
}
@ -534,7 +535,6 @@ ToxWindow new_chat(Tox *m, int friendnum)
uint8_t name[TOX_MAX_NAME_LENGTH] = {'\0'};
tox_getname(m, friendnum, (uint8_t *) &name);
snprintf(ret.name, sizeof(ret.name), "%s", name);
ChatContext *x = calloc(1, sizeof(ChatContext));

View File

@ -146,7 +146,6 @@ int add_window(Tox *m, ToxWindow w)
windows[i] = w;
w.onInit(&w, m);
//active_window = windows + i;
return i;
}