we must also use the border width here
This commit is contained in:
parent
07a0eaefd9
commit
50f37c839b
2
spmenu.c
2
spmenu.c
|
@ -304,7 +304,7 @@ calcoffsets(void)
|
||||||
if (!strcmp(capstext, ""))
|
if (!strcmp(capstext, ""))
|
||||||
capsWidth = 0;
|
capsWidth = 0;
|
||||||
|
|
||||||
n = mw - (promptw + inputw + larrowWidth + rarrowWidth + modeWidth + numberWidth + capsWidth + 2 * borderwidth);
|
n = mw - (promptw + inputw + larrowWidth + rarrowWidth + modeWidth + numberWidth + capsWidth + 2 * borderwidth + menumarginv);
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate which items will begin the next page
|
// calculate which items will begin the next page
|
||||||
|
|
Loading…
Reference in a new issue