Mercurial > hg > batmud > misc
changeset 96:99d29369d063 misc
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Apr 2010 05:53:23 +0000 |
parents | 36eb8aeded68 |
children | 1b370b589202 |
files | nun/holy_lance_tool.pl |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/nun/holy_lance_tool.pl Mon Apr 26 05:16:53 2010 +0000 +++ b/nun/holy_lance_tool.pl Mon Apr 26 05:53:23 2010 +0000 @@ -32,19 +32,18 @@ ### ANSI colour output functions sub setANSI($) { - if ($useANSI) { - printf "\x1b[0;%d;%dm", - $ansiAttr[$_[0] % scalar @ansiAttr], - $ansiColors[$_[0] % scalar @ansiColors]; - } + if ($useANSI) { + printf "\x1b[0;%d;%dm", + $ansiAttr[$_[0] % scalar @ansiAttr], + $ansiColors[$_[0] % scalar @ansiColors]; + } } sub offANSI() { - if ($useANSI) { printf "\x1b[0m"; } + if ($useANSI) { printf "\x1b[0m"; } } - ### Parse stdin as a logfile my %spellwords = ();