diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-09-27 18:21:58 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-09-27 18:21:58 +0200 |
commit | 047b94d3cbb3efbfdd2a7b3600791cb0d7415709 (patch) | |
tree | 09638f9935fd9234a9c499a35f9e24f8ca46e1c7 | |
parent | e1e714f3e7b95640ee7b9ac6f20314857fd4c32a (diff) |
render_image: do not display overlong lines
-rw-r--r-- | index.pl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -496,6 +496,8 @@ sub render_image { my ( $line, $destination, $etr, undef ) = @{$d}; + $line = substr($line, 0, 4); + $png->draw_at( 0, $line ); $png->draw_at( 25, $destination ); |