Commit 3e4b05f2 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

If both WIN_ORG and WIN_SAV modes are specified, don't clear save buffers.

umonitor uses these mode flags together (or soon will) and bad things happen
if you always clear the buffers that you're trying to save/restore.
parent 5168429f
......@@ -770,7 +770,7 @@ int ulist(int mode, int left, int top, int width, int *cur, int *bar
if(mode&WIN_DYN && mode&WIN_NODRAW)
if(mode&WIN_ORG) { /* Clear all save buffers on WIN_ORG */
if(mode&WIN_ORG && !(mode&WIN_SAV)) { /* Clear all save buffers on WIN_ORG */
for(i=0; i< MAX_BUFS; 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