This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
find_help_node() in kernel/help.c
- From: MA Dunzi <tadalunch at s5 dot xrea dot com>
- To: xconq7 at sources dot redhat dot com
- Date: Sat, 28 Sep 2002 19:18:46 +0900 (JST)
- Subject: find_help_node() in kernel/help.c
If i click "Flight" repeatedly in the help dialog,
a description for "Advanced Flight", "Space Flight", "Flight" is shown by turns.
Is find_help_node() designed to do it?
If not so, i would like to commit this patch.
--- help.c.orig Sat Sep 28 17:44:14 2002
+++ help.c Sat Sep 28 17:44:47 2002
@@ -240,8 +240,6 @@
for (tmp = node->next; tmp != node; tmp = tmp->next) {
if (strcmp(tmp->key, str) == 0)
return tmp;
- if (strstr(tmp->key, str) != NULL)
- return tmp;
}
return NULL;
}
--
MA Dunzi <tadalunch@s5.xrea.com> http://tadalunch.s5.xrea.com/xconq/index.html