]> mj.ucw.cz Git - gallery.git/commitdiff
Fixed auto-detection of "upside-down" mode
authorMartin Mares <mj@ucw.cz>
Sat, 21 Sep 2013 22:48:41 +0000 (00:48 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 8 Feb 2015 20:14:17 +0000 (21:14 +0100)
gal/bin/gal-scan

index 41e2d3a607bd5183ae1f032230544a786b1c1ab5..a1f5e5b440c1f18607b91a723982e5b30c3169a5 100755 (executable)
@@ -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 = ".";