From 18a4a6b1deeee8fa2023d5219042aa5dc6990499 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 15 Apr 2009 10:55:29 +0000 Subject: [PATCH] Fixed bug with ROptions when one option is a substring of another SVN revision: 2193 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 4c2bc7b8..97492c78 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -10531,7 +10531,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL *strchr(str, '{') = 0; strencode2(enc_attr, attrib[index], sizeof(enc_attr)); - if (strstr(attrib[index], attr_options[index][i]) || strieq(str, enc_attr)) + if (strieq(attrib[index], attr_options[index][i]) || strieq(str, enc_attr)) rsprintf ("\n", str, ua, str);