aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/image/analyser
diff options
context:
space:
mode:
authorManuel Mall <manuel@apache.org>2006-01-02 03:43:00 +0000
committerManuel Mall <manuel@apache.org>2006-01-02 03:43:00 +0000
commitf8036bb44a6f442bc0007e2001518d807ed24c4d (patch)
tree40cc266dd68475d83a215dda7e4550f48cc86f71 /src/java/org/apache/fop/image/analyser
parentc7a8efeab0c33751e770a66fe999536485e8c496 (diff)
downloadxmlgraphics-fop-f8036bb44a6f442bc0007e2001518d807ed24c4d.tar.gz
xmlgraphics-fop-f8036bb44a6f442bc0007e2001518d807ed24c4d.zip
Corrected simple mistake in BMP Reader which incorrectly reported the image width information as the image height
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365282 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/image/analyser')
-rw-r--r--src/java/org/apache/fop/image/analyser/BMPReader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/image/analyser/BMPReader.java b/src/java/org/apache/fop/image/analyser/BMPReader.java
index 12be15dab..74f6a161c 100644
--- a/src/java/org/apache/fop/image/analyser/BMPReader.java
+++ b/src/java/org/apache/fop/image/analyser/BMPReader.java
@@ -40,7 +40,7 @@ public class BMPReader implements ImageReader {
/** offset to width */
private static final int WIDTH_OFFSET = 18;
/** offset to height */
- private static final int HEIGHT_OFFSET = 18;
+ private static final int HEIGHT_OFFSET = 22;
/** offset to horizontal res */
private static final int HRES_OFFSET = 38;
/** offset to vertical res */