gconfig: fix to tag NEW symbols correctly
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 7 May 2010 05:57:35 +0000 (13:57 +0800)
committerMichal Marek <mmarek@suse.cz>
Wed, 2 Jun 2010 13:10:32 +0000 (15:10 +0200)
The logic should be reversed.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/gconf.c

index bef1041..1b18329 100644 (file)
@@ -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");