* [PATCH] [TRIVIAL] [kconfig] Merge error of singlemenu mconf patch
@ 2002-11-14 21:22 Petr Baudis
0 siblings, 0 replies; only message in thread
From: Petr Baudis @ 2002-11-14 21:22 UTC (permalink / raw)
To: torvalds, zippel; +Cc: linux-kernel
Hello,
this patch (against 2.5.47) fixes apparent merge error of my menuconfig
singlemenu patch, accepted before 2.5.47 release. In that patch, following
modification to lxdialog was needed - without this change, the highlighting of
the menu items' hotkey is broken (the first '+' is highlighted).
Please apply.
scripts/lxdialog/util.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Kind regards,
Petr Baudis
diff -ru linux/scripts/lxdialog/util.c linux+pasky/scripts/lxdialog/util.c
--- linux/scripts/lxdialog/util.c Wed Nov 6 21:50:00 2002
+++ linux+pasky/scripts/lxdialog/util.c Thu Nov 14 22:15:55 2002
@@ -348,7 +348,7 @@
c = tolower(string[i]);
if (strchr("<[(", c)) ++in_paren;
- if (strchr(">])", c)) --in_paren;
+ if (strchr(">])", c) && in_paren > 0) --in_paren;
if ((! in_paren) && isalpha(c) &&
strchr(exempt, c) == 0)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-14 21:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-14 21:22 [PATCH] [TRIVIAL] [kconfig] Merge error of singlemenu mconf patch Petr Baudis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®