From fed14b1b3f3ada964cfb3f9f51f7fc09e6ef4511 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 6 Mar 2011 18:09:21 +1100 Subject: [PATCH] Fix message output when listing styles and there are none. --- common/modules/styles.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/modules/styles.jsm b/common/modules/styles.jsm index 16c356c1..adfc725c 100644 --- a/common/modules/styles.jsm +++ b/common/modules/styles.jsm @@ -336,7 +336,7 @@ var Styles = Module("Styles", { ; // TODO: Move this to an ItemList to show this automatically - if (list.*.length() === list.text().length() + 2) + if (list.*.length() === list.text().length() + 5) dactyl.echomsg(_("style.none")); else commandline.commandOutput(list);