Skip to content
Snippets Groups Projects
Commit 61448e15 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix list() width when WIN_NOBRDR is used

The title isn't displayed in this mode, so the title length is 0.

Why is title being strdup()'d here? Something to look into.
parent 3cc370b3
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -667,7 +667,7 @@ int ulist(int64_t mode, int left, int top, int width, int *cur, int *bar
if(!(api->mode&UIFC_NHM))
uifc_mouse_disable();
title_len=strlen(title);
title_len=(mode & WIN_NOBRDR) ? 0 :strlen(title);
if(mode&WIN_FAT) {
s_top=1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment