From: Art Cancro Date: Wed, 24 Aug 2011 21:06:27 +0000 (-0400) Subject: If user clicks in the empty part of a mailbox view, display a blank pane instead... X-Git-Tag: v8.01~63^2~10 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=a42c4658dfa21125b6c050481faeaeb3e81aab46 If user clicks in the empty part of a mailbox view, display a blank pane instead of an error. --- diff --git a/webcit/messages.c b/webcit/messages.c index e809b8ebb..207787d67 100644 --- a/webcit/messages.c +++ b/webcit/messages.c @@ -399,6 +399,8 @@ void embed_message(void) { StrBuf *CmdBuf = NULL; msgnum = StrBufExtract_long(WCC->Hdr->HR.ReqLine, 0, '/'); + if (msgnum <= 0) return; + switch (WCC->Hdr->HR.eReqType) { case eGET: