diff mbox

[v2,5/8] gconfig: fix to tag NEW symbols correctly

Message ID 4BE3ABCF.4070507@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Li Zefan May 7, 2010, 5:57 a.m. UTC
None
diff mbox

Patch

diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index bef1041..1b18329 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -1114,7 +1114,7 @@  static gchar **fill_row(struct menu *menu)
 
 	row[COL_OPTION] =
 	    g_strdup_printf("%s %s", _(menu_get_prompt(menu)),
-			    sym && sym_has_value(sym) ? "(NEW)" : "");
+			    sym && !sym_has_value(sym) ? "(NEW)" : "");
 
 	if (opt_mode == OPT_ALL && !menu_is_visible(menu))
 		row[COL_COLOR] = g_strdup("DarkGray");