X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=scripts%2Fkconfig%2Fqconf.cc;h=00c51507cfcc44acfe434fc35e08827c14ff7f0d;hb=9a1607071c293e48b08bd703733480b1d55c7b93;hp=ce7d508c75200b1072bb40c96e72701f742a6ddc;hpb=284026cdfb5a899e558dcb7a36aefaf54a78c094;p=safe%2Fjmp%2Flinux-2.6 diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index ce7d508..00c5150 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1042,12 +1042,10 @@ void ConfigInfoView::menuInfo(void) if (showDebug()) debug = debug_info(sym); - help = menu_get_help(menu); - /* Gettextize if the help text not empty */ - if (help.isEmpty()) - help = print_filter(menu_get_help(menu)); - else - help = print_filter(_(menu_get_help(menu))); + struct gstr help_gstr = str_new(); + menu_get_ext_help(menu, &help_gstr); + help = print_filter(str_get(&help_gstr)); + str_free(&help_gstr); } else if (menu->prompt) { head += ""; head += print_filter(_(menu->prompt->text));