Skip to content

Commit

Permalink
Whoops, patched to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 22, 2016
1 parent 973683a commit 01993e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archive_imessage.pl
Expand Up @@ -1092,8 +1092,8 @@ sub talk_gap {

my $scale="$thumbnail_max_width:-1";
# Orientations 5-8 mean rotation between portrait and landscape, so we have to resize the "height" as it will actually be the width at the end.
if (defined $orientation) && (($orientation >= 5) && ($orientation <= 8)) {
my $scale="-1:$thumbnail_max_width";
if ((defined $orientation) && (($orientation >= 5) && ($orientation <= 8))) {
$scale="-1:$thumbnail_max_width";
}

my $outfname = "$maildir/tmp/imessage-chatlog-tmp-$$-$msgid-$fnameimg";
Expand Down

0 comments on commit 01993e5

Please sign in to comment.