1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-23 17:32:11 +01:00

Buffer grown too much.

This commit is contained in:
Jari Vetoniemi 2014-04-11 02:02:11 +03:00
parent cc93ff905f
commit 48cf42f0c9

@ -107,7 +107,7 @@ static void _bmDrawCursesDrawLine(int pair, int y, const char *format, ...)
}
if (dw < ncols) {
if (!_bmDrawCursesResizeBuffer(&buffer, blen - 1, blen + (ncols - dw) + 1))
if (!_bmDrawCursesResizeBuffer(&buffer, blen - 1, blen + (ncols - dw)))
return;
} else if (i < blen) {
int cc = dw - (dw - ncols);