summaryrefslogtreecommitdiffstats
path: root/src/pacman/callback.c
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2010-10-17 17:18:36 +0200
committerXavier Chantry <chantry.xavier@gmail.com>2011-01-29 19:40:07 +0100
commit2dd53e50de4f80cef84cd90140c4b43633360372 (patch)
tree0d3ec35706cd07e87b105c5c4a036b68d79a2626 /src/pacman/callback.c
parent00fec5e2503a8272ebac9f240e03d655131ec216 (diff)
downloadpacman-2dd53e50de4f80cef84cd90140c4b43633360372.tar.gz
pacman-2dd53e50de4f80cef84cd90140c4b43633360372.tar.xz
pacman: improve select-question
Make use of parseindex like in multiselect, and loop until we get a valid answer like in multiselect. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r--src/pacman/callback.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 43c56d00..53a56817 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -311,7 +311,6 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
depstring);
free(depstring);
select_display(providers);
- printf("\n");
*response = select_question(count);
}
break;