diff --git a/spmenu.c b/spmenu.c index 3fc8ff4..597e899 100644 --- a/spmenu.c +++ b/spmenu.c @@ -304,7 +304,7 @@ calcoffsets(void) if (!strcmp(capstext, "")) capsWidth = 0; - n = mw - (promptw + inputw + larrowWidth + rarrowWidth + modeWidth + numberWidth + capsWidth + 2 * borderwidth + menumarginv); + n = mw - (promptw + inputw + larrowWidth + rarrowWidth + modeWidth + numberWidth + capsWidth + menumarginv); } // calculate which items will begin the next page