From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 38F55138200 for ; Fri, 20 Sep 2013 08:31:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C772EE0BE5; Fri, 20 Sep 2013 08:31:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51808E0BE3 for ; Fri, 20 Sep 2013 08:30:44 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 456AF33ED1B for ; Fri, 20 Sep 2013 08:30:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 01415E5464 for ; Fri, 20 Sep 2013 08:30:42 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1379607015.db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed-curses.c X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba X-VCS-Branch: master Date: Fri, 20 Sep 2013 08:30:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4b113c46-d69b-4aea-a19b-24e5519ec2c8 X-Archives-Hash: b924d1b4a4e1cf0b13d6fb302fe31738 commit: db3f54591bfa6b42a9977a0a7469b3eb7d7d49ba Author: Sven Eden gmx net> AuthorDate: Thu Sep 19 16:10:15 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Thu Sep 19 16:10:15 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=db3f5459 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"