From 785197a6259cee5b476dbc1e9d5ed41a6cc97dae Mon Sep 17 00:00:00 2001 From: srowen Date: Thu, 10 May 2012 13:14:33 +0000 Subject: [PATCH] Issue 1263 small fix git-svn-id: https://zxing.googlecode.com/svn/trunk@2290 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- core/src/com/google/zxing/pdf417/encoder/PDF417Writer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/google/zxing/pdf417/encoder/PDF417Writer.java b/core/src/com/google/zxing/pdf417/encoder/PDF417Writer.java index 3187ff077..2d3cfd48a 100644 --- a/core/src/com/google/zxing/pdf417/encoder/PDF417Writer.java +++ b/core/src/com/google/zxing/pdf417/encoder/PDF417Writer.java @@ -88,7 +88,7 @@ public final class PDF417Writer implements Writer { Map hints = new EnumMap(EncodeHintType.class); hints.put(EncodeHintType.PDF417_COMPACT, compact); hints.put(EncodeHintType.PDF417_COMPACTION, compaction); - hints.put(EncodeHintType.PDF417_DIMENSIONS, new Dimensions(maxCols, minCols, maxRows, minRows)); + hints.put(EncodeHintType.PDF417_DIMENSIONS, new Dimensions(minCols, maxCols, minRows, maxRows)); return encode(contents, format, width, height, hints); }