diff --git a/src/elogd.c b/src/elogd.c index 659f0a24..60d12daa 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -9212,7 +9212,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("\n"); script[0] = 0; - if (isparam("inlineatt") && *getparam("inlineatt") || bpreview) + if ((isparam("inlineatt") && *getparam("inlineatt")) || bpreview) strcpy(script, " OnLoad=\"document.form1.Text.focus();\""); strcat(script, " OnLoad=\"elKeyInit();\" OnFocus=\"elKeyInit();\"");