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

Allow showbuf buffers to be placed up against the status line.

parent 0bd86726
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1533 passed
......@@ -2692,8 +2692,8 @@ void showbuf(int mode, int left, int top, int width, int height, char *title, ch
if(api->mode&UIFC_MOUSE)
title_len+=6;
if((unsigned)(top+height)>api->scrn_len-3)
height=(api->scrn_len-3)-top;
if((unsigned)(top+height)>=api->scrn_len)
height = api->scrn_len - top;
if(!width || (unsigned)width<title_len+6)
width=title_len+6;
if((unsigned)width>api->scrn_width)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment