summaryrefslogtreecommitdiff
path: root/dselect/methlist.cc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-11-01 08:18:28 +0100
committerGuillem Jover <guillem@debian.org>2010-11-19 05:21:14 +0100
commitc6ea15b9850f26ea3b5a13667396c89e00aa9890 (patch)
tree9da3c56846f1e9f0e75d3ac619713c6467af472a /dselect/methlist.cc
parent7ee4f4f2ef5ca3d9fa1426ac93f78ead2280bc36 (diff)
downloaddpkg-c6ea15b9850f26ea3b5a13667396c89e00aa9890.tar.gz
Cleanup white spaces
Remove trailing spaces. Remove blank lines not separating different code blocks. Remove blank lines at the end of the file.
Diffstat (limited to 'dselect/methlist.cc')
-rw-r--r--dselect/methlist.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/dselect/methlist.cc b/dselect/methlist.cc
index e83ff9486..7096be9f3 100644
--- a/dselect/methlist.cc
+++ b/dselect/methlist.cc
@@ -99,7 +99,7 @@ void methodlist::redraw1itemsel(int index, int selected) {
wattrset(listpad, selected ? listsel_attr : list_attr);
mvwprintw(listpad,index,name_column-1, " %-*.*s ",
name_width, name_width, table[index]->name);
-
+
i= description_width;
p= table[index]->summary ? table[index]->summary : "";
while (i>0 && *p && *p != '\n') {
@@ -125,7 +125,7 @@ void methodlist::redrawcolheads() {
methodlist::methodlist() : baselist(&methodlistbindings) {
int newcursor= -1;
-
+
if (debug)
fprintf(debug,"methodlist[%p]::methodlist()\n",this);
@@ -158,7 +158,7 @@ quitaction methodlist::display() {
setupsigwinch();
startdisplay();
-
+
if (debug) fprintf(debug,"methodlist[%p]::display() entering loop\n",this);
for (;;) {
if (whatinfo_height) wcursyncup(whatinfowin);
@@ -180,7 +180,7 @@ quitaction methodlist::display() {
}
pop_cleanup(ehflag_normaltidy); // unset the SIGWINCH handler
enddisplay();
-
+
if (debug) fprintf(debug,"methodlist[%p]::display() done\n",this);
return interp->qa;
@@ -205,7 +205,7 @@ void methodlist::redrawinfo() {
if (!info_height) return;
whatinfovb.reset();
werase(infopad); wmove(infopad,0,0);
-
+
if (debug) fprintf(debug,"methodlist[%p]::redrawinfo()\n", this);
itd_description();