From db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Thu, 19 Sep 2013 18:10:15 +0200 Subject: Really add wrapped/long description state to the status line. The space calculation wasn't updated, yet. --- ufed-curses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-65-gdbad