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 AE8481387C2 for ; Fri, 1 Feb 2013 10:49:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8615821C042; Fri, 1 Feb 2013 10:49:51 +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 CF46021C040 for ; Fri, 1 Feb 2013 10:49:50 +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 D3CAD33DCA9 for ; Fri, 1 Feb 2013 10:49:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 72DC4E408C for ; Fri, 1 Feb 2013 10:49:48 +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: <1359301293.5c5775520fdd312ceb6837640a1be559980f5477.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed-curses-checklist.c ufed-curses.c X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 5c5775520fdd312ceb6837640a1be559980f5477 X-VCS-Branch: master Date: Fri, 1 Feb 2013 10:49:48 +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: 9ceae5e4-9d9e-4bba-a0cb-27a34627ce16 X-Archives-Hash: 8de9f06ab0d17276bcac6bdd490966e2 commit: 5c5775520fdd312ceb6837640a1be559980f5477 Author: Sven Eden gmx de> AuthorDate: Sun Jan 27 15:41:33 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Sun Jan 27 15:41:33 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=5c577552 Moved prompt back to the left side. --- ufed-curses-checklist.c | 1 + ufed-curses.c | 4 ++++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ufed-curses-checklist.c b/ufed-curses-checklist.c index 00700bd..8c9b408 100644 --- a/ufed-curses-checklist.c +++ b/ufed-curses-checklist.c @@ -450,6 +450,7 @@ static int callback(struct item **currentitem, int key) { mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope + wmove(win(Input), 0, 0); wrefresh(win(Input)); } if(descriptionleft!=0 && key!=KEY_LEFT && key!=KEY_RIGHT) { diff --git a/ufed-curses.c b/ufed-curses.c index 997798b..f45b8e3 100644 --- a/ufed-curses.c +++ b/ufed-curses.c @@ -341,6 +341,7 @@ void draw() { mvwaddch(w, 0, minwidth, ACS_VLINE); // Before state mvwaddch(w, 0, minwidth + 3, ACS_VLINE); // Between state and scope mvwaddch(w, 0, minwidth + 6, ACS_VLINE); // After scope + wmove(w, 0, 0); wnoutrefresh(w); drawitems(); @@ -367,6 +368,7 @@ bool yesno(const char *prompt) { mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope + wmove(win(Input), 0, 0); waddstr(win(Input), prompt); whline(win(Input), 'Y', 1); wrefresh(win(Input)); @@ -381,6 +383,7 @@ bool yesno(const char *prompt) { mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope + wmove(win(Input), 0, 0); wnoutrefresh(win(Input)); wrefresh(win(List)); return FALSE; @@ -401,6 +404,7 @@ bool yesno(const char *prompt) { mvwaddch(win(Input), 0, minwidth, ACS_VLINE); // Before state mvwaddch(win(Input), 0, minwidth + 3, ACS_VLINE); // Between state and scope mvwaddch(win(Input), 0, minwidth + 6, ACS_VLINE); // After scope + wmove(win(Input), 0, 0); waddstr(win(Input), prompt); whline(win(Input), 'Y', 1); wrefresh(win(Input));