summaryrefslogtreecommitdiff
path: root/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff')
-rw-r--r--source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff b/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff
new file mode 100644
index 00000000..8d509f4d
--- /dev/null
+++ b/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff
@@ -0,0 +1,13 @@
+--- ./gwenview/lib/jpegcontent.cpp.orig 2009-05-14 12:26:10.000000000 -0500
++++ ./gwenview/lib/jpegcontent.cpp 2010-05-17 21:08:10.000000000 -0500
+@@ -455,9 +455,8 @@
+
+ // Init transformation
+ jpeg_transform_info transformoption;
++ memset(&transformoption, 0, sizeof(jpeg_transform_info));
+ transformoption.transform = findJxform(d->mTransformMatrix);
+- transformoption.force_grayscale = false;
+- transformoption.trim = false;
+ jtransform_request_workspace(&srcinfo, &transformoption);
+
+ /* Read source file as DCT coefficients */