Fixed bug with ROptions when one option is a substring of another

SVN revision: 2193
This commit is contained in:
2009-04-15 10:55:29 +00:00
parent e003f59b61
commit 18a4a6b1de
+1 -1
View File
@@ -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
("<input type=radio id=\"%s\" name=\"%s\" value=\"%s\" checked onChange=\"mod();\">\n",
str, ua, str);