diff options
author | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2009-02-08 16:14:46 -0500 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@users.sourceforge.net> | 2009-02-08 16:14:46 -0500 |
commit | a62adf5f7df9bdcabcecba002699af7980dd9203 (patch) | |
tree | fd26ea02871e1f9bac9037e010ec649cb1537e77 /src/screen.c | |
parent | f04882c76d0d23a35942e736e89ef19268f541b5 (diff) | |
download | screen-a62adf5f7df9bdcabcecba002699af7980dd9203.tar.gz |
Fix the rendition of some specific %w flags.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c index 3d1da36..5064652 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2688,9 +2688,7 @@ int rec; oldfore = D_fore; D_fore = win; } - ss = AddWindows(p, l - 1, (*s == 'w' ? 0 : 1) | (longflg ? 0 : 2) | (plusflg ? 4 : 0), win ? win->w_number : -1); - if (minusflg) - *ss = 0; + ss = AddWindows(p, l - 1, (*s == 'w' ? 0 : 1) | (longflg ? 0 : 2) | (plusflg ? 4 : 0) | (minusflg ? 8 : 0), win ? win->w_number : -1); if (display) D_fore = oldfore; } |