diff options
author | Guillem Jover <guillem@debian.org> | 2010-11-01 08:18:28 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2010-11-19 05:21:14 +0100 |
commit | c6ea15b9850f26ea3b5a13667396c89e00aa9890 (patch) | |
tree | 9da3c56846f1e9f0e75d3ac619713c6467af472a /dselect/pkgcmds.cc | |
parent | 7ee4f4f2ef5ca3d9fa1426ac93f78ead2280bc36 (diff) | |
download | dpkg-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/pkgcmds.cc')
-rw-r--r-- | dselect/pkgcmds.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |