Browse Source

Check for availability of debian-installer/language.

r18490
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Bastian Blank 18 years ago
parent
commit
a64555578b
  1. 7
      debian/changelog
  2. 6
      main-menu.c

7
debian/changelog

@ -1,3 +1,10 @@
main-menu (0.073) UNRELEASED; urgency=low
* Bastian Blank
- Check for availability of debian-installer/language.
-- Bastian Blank <waldi@debian.org> Mon, 26 Jul 2004 13:19:04 +0200
main-menu (0.072) unstable; urgency=low
* Joey Hess

6
main-menu.c

@ -209,8 +209,7 @@ di_system_package *show_main_menu(di_packages *packages, di_packages_allocator *
char buf[256], *menu, *s;
int menu_size, menu_used, size;
debconf_get(debconf,"debian-installer/language");
if (debconf->value)
if (debconf_get(debconf,"debian-installer/language") == 0 && debconf->value)
language = strdup(debconf->value);
for (node = packages->list.head; node; node = node->next) {
@ -312,8 +311,7 @@ static int satisfy_virtual(di_system_package *p) {
size_t menu_size, menu_used, size;
int is_menu_item = 0;
debconf_get(debconf, "debian-installer/language");
if (debconf->value)
if (debconf_get(debconf, "debian-installer/language") == 0 && debconf->value)
language = strdup(debconf->value);
menu = di_malloc(1024);

Loading…
Cancel
Save