Browse Source

Check for availability of debian-installer/language.

r18490
tags/1.00
Bastian Blank 17 years ago
parent
commit
a64555578b
2 changed files with 9 additions and 4 deletions
  1. +7
    -0
      debian/changelog
  2. +2
    -4
      main-menu.c

+ 7
- 0
debian/changelog View File

@@ -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


+ 2
- 4
main-menu.c View File

@@ -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