Fix output of :let when no variables are defined.

This commit is contained in:
Doug Kearns committed 2010-09-28 18:36:00 +10:00
1 parent f3be395b0c
commit 0d56dac3ac
1 file changed
+3 -3
+3 -3
View File
@@ -1224,10 +1224,10 @@ const Options = Module("options", {
})
}
</table>;
if (str.*.length())
dactyl.echo(str, commandline.FORCE_MULTILINE);
else
if (str.text().length() == str.*.length())
dactyl.echomsg("No variables found");
else
dactyl.echo(str, commandline.FORCE_MULTILINE);
return;
}