From dd6ac8b93c5ab3a39b400a4c07ea4d5a5b303c5e Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 4 Jun 2009 12:37:18 +0000 Subject: [PATCH] Fixed bug when attributes got not fixed during preview SVN revision: 2203 --- src/elogd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/elogd.c b/src/elogd.c index 8a9b4346..d465b162 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -10096,9 +10096,9 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL rsprintf("\n"); /* if attribute cannot be changed, just display text */ - if ((attr_flags[index] & AF_LOCKED) || ((bedit && !breedit && !bupload) && (attr_flags[index] - & AF_FIXED_EDIT)) - || (message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) { + if ((attr_flags[index] & AF_LOCKED) || + (message_id && bedit && (attr_flags[index] & AF_FIXED_EDIT)) || + (message_id && !bedit && (attr_flags[index] & AF_FIXED_REPLY))) { if (attr_flags[index] & AF_DATE) {