Commit a84bb2cf authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix glitch in showbuf window with odd-numbered width

parent 84111584
Pipeline #1693 passed with stage
in 13 minutes and 48 seconds
......@@ -2798,7 +2798,7 @@ void showbuf(int mode, int left, int top, int width, int height, char *title, ch
tmp_buffer2[k].ch='u'; k++;
tmp_buffer2[k].ch='e'; k+=2;
tmp_buffer2[k].ch=api->chars->help_hitanykey_right; k++;
for(j=k;j<k+(((width-4)/2-12));j++)
for(j=k;j<k+(((width-4)/2-12))+(width&1);j++)
tmp_buffer2[j].ch=api->chars->help_bottom;
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment