ansilove.js

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

commit c41a02a31f07f94ef6dcde4855939a48640d2618
parent bf39b99974b56fe06d15c4a9b912d7cf8b1d192f
Author: Andy Herbert <andy.herbert@gmail.com>
Date:   Mon, 28 Oct 2013 22:27:49 +0000

fix previous commit

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

diff --git a/ansilove.js b/ansilove.js @@ -984,7 +984,7 @@ var AnsiLove = (function () { if (options.mode === "ced") { columns = 78; } else { - columns = file.sauce.tInfo1 || 80; + columns = file.sauce ? file.sauce.tInfo1 : 80; } imageData = new ScreenData(columns); topOfScreen = 0;