Skip to content
Snippets Groups Projects
Commit a84bb2cf authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix glitch in showbuf window with odd-numbered width

parent 84111584
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1693 passed
...@@ -2798,7 +2798,7 @@ void showbuf(int mode, int left, int top, int width, int height, char *title, ch ...@@ -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='u'; k++;
tmp_buffer2[k].ch='e'; k+=2; tmp_buffer2[k].ch='e'; k+=2;
tmp_buffer2[k].ch=api->chars->help_hitanykey_right; k++; 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; tmp_buffer2[j].ch=api->chars->help_bottom;
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment