summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2013-09-19 18:10:15 +0200
committerSven Eden <yamakuzure@gmx.net>2013-09-19 18:10:15 +0200
commitdb3f54591bfa6b42a9977a0a7469b3eb7d7d49ba (patch)
treee8d64385b5da42223b3383f642cbc7cf6192deea
parentcalculateDescWrap(): Position and length correction now work with reversed pk... (diff)
downloadufed-db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba.tar.gz
ufed-db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba.tar.bz2
ufed-db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba.zip
Really add wrapped/long description state to the status line. The space calculation wasn't updated, yet.
-rw-r--r--ufed-curses.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufed-curses.c b/ufed-curses.c
index f6b2531..65902fc 100644
--- a/ufed-curses.c
+++ b/ufed-curses.c
@@ -338,7 +338,7 @@ void drawStatus(bool withSep)
* + 4 pipes = 26
*/
sprintf(buf, "%*s%-4s|%-4s|%-4s|%-4s|%-4s|%-4s] ",
- max(2, iWidth - 33 - minwidth), " [",
+ max(2, iWidth - 38 - minwidth), " [",
eScope_global == e_scope ? "glob"
: eScope_local == e_scope ? "loca" : "all",
eState_installed == e_state ? "inst"