summaryrefslogtreecommitdiff
path: root/dselect/pkgtop.cc
diff options
context:
space:
mode:
authorWichert Akkerman <wakkerma@debian.org>2000-06-09 14:11:40 +0000
committerWichert Akkerman <wakkerma@debian.org>2000-06-09 14:11:40 +0000
commit2ec62cd51bc55dd7526bdb3be4f5d092ff31e447 (patch)
treef837d17d55a41388e8a7dc2f0902c64962d1cfde /dselect/pkgtop.cc
parenteb9580eefbd0b81dce996068fa391b018d22281d (diff)
downloaddpkg-2ec62cd51bc55dd7526bdb3be4f5d092ff31e447.tar.gz
Merge things from the potato branch:
+ po/*.po: updated + THANKS: Add Lele Gaifax + configure.in: add Italian to LINGUAS + doc/sv: new directory with Swedish manpages + doc/*: removed "GNU/Linux" since this runs on HURD as well + doc/ja/update-alternatives.8: new version + dpkg-deb/main.c: remove preprocessor define from gettextized string + dselect/main.c: remove preprocessor define from gettextized string + lib/showcright.c: remove preprocessor define from gettextized string + main/enquiry.c: can't use prepocessor defines in a gettextized string + dselect/pkgdisplay.cc: Replace empty string for eflags with a space + dselect/pkgsublist.cc: mark another string as translateable + dselect/pkgtop.cc: change code to reflect that the empty case for an eflagstring is now a single space, not an empty string (since gettext can't handle empty strings). + main/help.c: allocate a bit more space for the path buffer in checkpath() + main/main.c: fix location of --abort-after in --help output + scripts/debian-changelog-mode.el: fix documentation string for debian-changelog-finalise-last + scripts/dpkg-source.pl: fix typo + scripts/udate-alternatives.8: fixed errors found while Japanese translation was made. methods/Makefile.am: removed
Diffstat (limited to 'dselect/pkgtop.cc')
-rw-r--r--dselect/pkgtop.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dselect/pkgtop.cc b/dselect/pkgtop.cc
index 172ca2810..4c6d763a0 100644
--- a/dselect/pkgtop.cc
+++ b/dselect/pkgtop.cc
@@ -116,7 +116,8 @@ void packagelist::redrawthisstate() {
package_width,
table[cursorline]->pkg->name,
gettext(statusstrings[table[cursorline]->pkg->status]),
- eflagstrings[table[cursorline]->pkg->eflag][0] ? " - " : "",
+ ((eflagstrings[table[cursorline]->pkg->eflag][0]==' ') &&
+ (eflagstrings[table[cursorline]->pkg->eflag][1]=='\0')) ? "" : " - ",
gettext(eflagstrings[table[cursorline]->pkg->eflag]),
gettext(wantstrings[table[cursorline]->selected]),
gettext(wantstrings[table[cursorline]->original]),