Skip to content

Commit

Permalink
kconfig: macro fix in menu.c
Browse files Browse the repository at this point in the history
This patch removes the indirect I18N support for config file.

Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
  • Loading branch information
EGRY Gabor authored and Sam Ravnborg committed Jan 28, 2008
1 parent 46d2631 commit 01771b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/kconfig/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,9 @@ bool menu_is_visible(struct menu *menu)
const char *menu_get_prompt(struct menu *menu)
{
if (menu->prompt)
return _(menu->prompt->text);
return menu->prompt->text;
else if (menu->sym)
return _(menu->sym->name);
return menu->sym->name;
return NULL;
}

Expand Down

0 comments on commit 01771b0

Please sign in to comment.