All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make gconfig: fix the "(NEW)" string
@ 2009-12-04 18:38 matteo_cortese
  2009-12-04 19:02 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: matteo_cortese @ 2009-12-04 18:38 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel

The string "(NEW)" is added to those options that are not present in the
 current config file, thus looking as new features. Alas, the logic seem
s to be inverted.
 

Signed-off-by: Matteo Cortese <matteo_cortese@fastwebnet.it>
------

diff -u linux-source-2.6.26-old/scripts/kconfig/gconf.c linux-source-2.6
.26/scripts/kconfig/gconf.c
--- linux-source-2.6.26-old/scripts/kconfig/gconf.c	2008-07-13 21:51:29.
000000000 +0000
+++ linux-source-2.6.26/scripts/kconfig/gconf.c	2009-01-03 00:52:57.0000
00000 +0000
@@ -1174,7 +1174,7 @@
 
 	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 (show_all && !menu_is_visible(menu))
 		row[COL_COLOR] = g_strdup("DarkGray");


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-09  1:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 18:38 [PATCH] make gconfig: fix the "(NEW)" string matteo_cortese
2009-12-04 19:02 ` Randy Dunlap
2009-12-09  1:40   ` Matteo Cortese

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.