diff options
author | Wichert Akkerman <wakkerma@debian.org> | 1999-12-07 16:04:06 +0000 |
---|---|---|
committer | Wichert Akkerman <wakkerma@debian.org> | 1999-12-07 16:04:06 +0000 |
commit | 55b17933f8ab22b35c25eff2941c14f97dc2372c (patch) | |
tree | d8d917884459d1557688cae69654912bf800a05f /dselect | |
parent | c613f44410d54ba30dfca58da10e6e0d8714802a (diff) | |
download | dpkg-55b17933f8ab22b35c25eff2941c14f97dc2372c.tar.gz |
Small fixups
Diffstat (limited to 'dselect')
-rw-r--r-- | dselect/main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dselect/main.cc b/dselect/main.cc index 632d1ba4b..0d05e52c3 100644 --- a/dselect/main.cc +++ b/dselect/main.cc @@ -226,6 +226,7 @@ void dme(int i, int so) { } int refreshmenu(void) { + char buf[2048]; curseson(); cbreak(); noecho(); nonl(); keypad(stdscr,TRUE); int y,x; @@ -246,7 +247,8 @@ int refreshmenu(void) { "Press ENTER to confirm selection. ^L to redraw screen.\n\n")); attrset(A_NORMAL); - addstr(gettext(copyrightstring)); + sprintf(buf,gettext(copyrightstring),DPKG_VERSION_ARCH); + addstr(buf); return i; } |