diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-05-07 01:57:35 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-02 09:10:32 -0400 |
commit | e0bb7fe2d7e6d7cfa6135fa9ca5634343fff63b5 (patch) | |
tree | 7edaf84e44fc2289ee4dac78ee5432b62dce68b8 /scripts/kconfig/gconf.c | |
parent | f9447c49390f4935e19e89c88ce4a1311c080dbc (diff) |
gconfig: fix to tag NEW symbols correctly
The logic should be reversed.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/gconf.c')
-rw-r--r-- | 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 bef10411837f..1b1832943d7a 100644 --- a/scripts/kconfig/gconf.c +++ b/scripts/kconfig/gconf.c | |||
@@ -1114,7 +1114,7 @@ static gchar **fill_row(struct menu *menu) | |||
1114 | 1114 | ||
1115 | row[COL_OPTION] = | 1115 | row[COL_OPTION] = |
1116 | g_strdup_printf("%s %s", _(menu_get_prompt(menu)), | 1116 | g_strdup_printf("%s %s", _(menu_get_prompt(menu)), |
1117 | sym && sym_has_value(sym) ? "(NEW)" : ""); | 1117 | sym && !sym_has_value(sym) ? "(NEW)" : ""); |
1118 | 1118 | ||
1119 | if (opt_mode == OPT_ALL && !menu_is_visible(menu)) | 1119 | if (opt_mode == OPT_ALL && !menu_is_visible(menu)) |
1120 | row[COL_COLOR] = g_strdup("DarkGray"); | 1120 | row[COL_COLOR] = g_strdup("DarkGray"); |