summaryrefslogtreecommitdiff
path: root/debian/patches/0160-big_endian.patch
blob: 5c8a2ff207e01a32d3116550aca2838d6161823f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: trunk/backend/genesys/low.cpp
===================================================================
--- trunk.orig/backend/genesys/low.cpp
+++ trunk/backend/genesys/low.cpp
@@ -539,7 +539,7 @@ Image read_unshuffled_image_from_scanner
     }
 
 #ifdef WORDS_BIGENDIAN
-    if (depth == 16) {
+    if (session.params.depth == 16) {
         dev->pipeline.push_node<ImagePipelineNodeSwap16BitEndian>();
     }
 #endif