From c6ea15b9850f26ea3b5a13667396c89e00aa9890 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 1 Nov 2010 08:18:28 +0100 Subject: Cleanup white spaces Remove trailing spaces. Remove blank lines not separating different code blocks. Remove blank lines at the end of the file. --- dselect/pkgcmds.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dselect/pkgcmds.cc') diff --git a/dselect/pkgcmds.cc b/dselect/pkgcmds.cc index 59475ca47..adb700c5e 100644 --- a/dselect/pkgcmds.cc +++ b/dselect/pkgcmds.cc @@ -145,7 +145,7 @@ int would_like_to_install(pkginfo::pkgwant wantvalue, pkginfo *pkg) { /* Returns: 1 for yes, 0 for no, -1 for if they want to preserve an error condition. */ if (debug) fprintf(debug,"would_like_to_install(%d, %s) status %d\n", wantvalue,pkg->name,pkg->status); - + if (wantvalue == pkginfo::want_install) return 1; if (wantvalue != pkginfo::want_hold) return 0; if (pkg->status == pkginfo::stat_installed) return 1; @@ -153,7 +153,7 @@ int would_like_to_install(pkginfo::pkgwant wantvalue, pkginfo *pkg) { pkg->status == pkginfo::stat_configfiles) return 0; return -1; } - + const char *packagelist::itemname(int index) { return table[index]->pkg->name; } -- cgit v1.2.3