Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit adebb639 authored by Deucе's avatar Deucе 👌🏾

Draw the shadow if the API bgcolor is blue

WIN_INACT was not getting a border because it changes the value
of bclr which is explicitly compared with BLUE to detect if a
shadow should be drawn.

Instead, draw a shadow any time it would normally be drawn.
parent b8aa20b3
Pipeline #2243 passed with stage
in 7 minutes and 54 seconds
......@@ -1003,7 +1003,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
if(!(mode&WIN_NOBRDR)) {
/* Shadow */
if(bclr==BLUE) {
if(api->bclr==BLUE) {
vmem_gettext(s_left+left+width,s_top+top+1,s_left+left+width+1
,s_top+top+height-1,shade);
for(i=0;i<height*2;i++)
......
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