From f5bc6953689054055cdd97908220f6a217020d3a Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sat, 1 Nov 2008 20:21:14 +0000 Subject: [PATCH] fixed showmode handling for muttator composer --- content/ui.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/ui.js b/content/ui.js index 915046e7..91f747f9 100644 --- a/content/ui.js +++ b/content/ui.js @@ -649,12 +649,12 @@ function CommandLine() //{{{ where = setMultiline; else if (flags & this.FORCE_SINGLELINE) where = function () setLine(str, highlightGroup, true); - else if (!outputContainer.collapsed) + else if (flags & this.DISALLOW_MULTILINE) { - if (flags & this.DISALLOW_MULTILINE) + if (!outputContainer.collapsed) where = null; else - where = setMultiline; + where = function () setLine(str, highlightGroup, true); } else if (/\n|/.test(str)) where = setMultiline;