summaryrefslogtreecommitdiff
path: root/source/kde/kdegraphics/kdegraphics.gwenview.jpeg8.diff
blob: 8d509f4dfa8b6c35cbdcebca1188a2d682a3ea18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 */