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.11~512 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=24f66e82047af56aab3b95912b13104aa71fb956 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: