From: Martin Mares Date: Sat, 21 Sep 2013 22:48:41 +0000 (+0200) Subject: Fixed auto-detection of "upside-down" mode X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=78db293f93bad3bc8e16d6eb8d78cc4f7b179b2a;p=gallery.git Fixed auto-detection of "upside-down" mode --- diff --git a/gal/bin/gal-scan b/gal/bin/gal-scan index 41e2d3a..a1f5e5b 100755 --- a/gal/bin/gal-scan +++ b/gal/bin/gal-scan @@ -94,7 +94,7 @@ foreach my $src (@source) { if ($o eq "Top, Left-Hand") { $o = "."; } elsif ($o eq "Right-Hand, Top") { $o = "r"; } elsif ($o eq "Left-Hand, Bottom") { $o = "l"; } - elsif ($o eq "Bottom, Right-Hand") { $o = "d"; } + elsif ($o eq "Bottom, Right-Hand") { $o = "u"; } else { print "Unrecognized orientation: $o\n"; $o = ".";