summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-11-27 09:56:19 +0100
committerGuillem Jover <guillem@debian.org>2011-01-08 17:12:19 +0100
commit7ab4b0ce3912e34620760f02242ebf80bc0dafff (patch)
treef2662599487fadaf04ee0cdb5f599b2f8c2ebbf9 /lib
parent63e047b9c2f652290f6e697ac31266a8488491e7 (diff)
downloaddpkg-7ab4b0ce3912e34620760f02242ebf80bc0dafff.tar.gz
Make short strings unique by using gettext context support
Reported-by: Andrei Popescu <andreimpopescu@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/dpkg/parsehelp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dpkg/parsehelp.c b/lib/dpkg/parsehelp.c
index d9132bd06..a32696a47 100644
--- a/lib/dpkg/parsehelp.c
+++ b/lib/dpkg/parsehelp.c
@@ -198,7 +198,8 @@ const char *versiondescribe
struct varbuf *vb;
- if (!informativeversion(version)) return _("<none>");
+ if (!informativeversion(version))
+ return C_("version", "<none>");
vb= &bufs[bufnum]; bufnum++; if (bufnum == 10) bufnum= 0;
varbufreset(vb);