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

make correct error message print

This commit is contained in:
Jfreegman
2013-09-27 22:12:52 -04:00
parent 38f6f446c4
commit 4ffb98dcdb
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ static void prompt_onDraw(ToxWindow *self, Tox *m)
size_t i;
for (i = 0; i < (prompt_buf_pos); ++i) {
for (i = 0; i < prompt_buf_pos; ++i) {
if ((prompt_buf[i] == '\n') && (y != 0))
--y;
}