From 1a4c0cd7610889f51d581ab348d6c4c9a91102f0 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 29 Jul 2013 16:49:44 -0500 Subject: [PATCH] fix mwidth for elements with no content. --- lib/widget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/widget.js b/lib/widget.js index e8a101e..defbebb 100644 --- a/lib/widget.js +++ b/lib/widget.js @@ -2115,6 +2115,7 @@ Element.prototype._wrapContent = function(content, width) { out.ftor = [[0]]; out.fake = lines; out.real = out; + out.mwidth = 0; return out; }