ansilove.js

A script to display ANSi and artscene related file formats on web pages
Log | Files | Refs | README | LICENSE

commit 7658a48f5febc73e89b2d110d0cc34800a9e7c54
parent 7ee6aa3485e8ddfcb6ebbcfb21b5e54de23e2e52
Author: Andy Herbert <andy.herbert@gmail.com>
Date:   Wed, 28 Jun 2017 12:06:56 +0100

Remove sanity check for character width for ansis

Diffstat:
Mansilove.js | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ansilove.js b/ansilove.js @@ -969,8 +969,7 @@ var AnsiLove = (function () { // If there is a sauce record... if (file.sauce) { - // Do a weak sanity check to see if there is a valid column setting, and use it if it passes. - if (file.sauce.tInfo1 > 0 && file.sauce.tInfo1 <= 1000) { + if (file.sauce.tInfo1 > 0) { columns = file.sauce.tInfo1; } else { columns = 80;