[PATCH 3/6] gconfig: fix to tag NEW symbols correctly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li Zefan
Date: Tuesday, April 27, 2010 - 12:48 am

The logic should be reversed.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
---
 scripts/kconfig/gconf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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");
-- 
1.6.3
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/6] kconfig: print symbol type in help text, Li Zefan, (Tue Apr 27, 12:48 am)
[PATCH 3/6] gconfig: fix to tag NEW symbols correctly, Li Zefan, (Tue Apr 27, 12:48 am)
[PATCH 4/6] gconfig: fix null pointer warning, Li Zefan, (Tue Apr 27, 12:49 am)
[PATCH 5/6] xconfig: remove unused function, Li Zefan, (Tue Apr 27, 12:49 am)
Re: [PATCH 1/6] kconfig: print symbol type in help text, Randy Dunlap, (Tue Apr 27, 1:36 pm)
Re: [PATCH 1/6] kconfig: print symbol type in help text, Randy Dunlap, (Tue Apr 27, 1:36 pm)
Re: [PATCH 4/6] gconfig: fix null pointer warning, Randy Dunlap, (Tue Apr 27, 1:36 pm)