summaryrefslogtreecommitdiffstats
path: root/share/extensions
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-06-25 16:40:00 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-06-25 16:40:00 +0000
commit497dfa84602b635c918d5e84059fd6b0377133da (patch)
treebd731afe00de0242c711da0cf7873984fc0d740c /share/extensions
parentrevert rev. 13429 that broke LPE Bend, Envelope, etc etc. (diff)
downloadinkscape-497dfa84602b635c918d5e84059fd6b0377133da.tar.gz
inkscape-497dfa84602b635c918d5e84059fd6b0377133da.zip
Extensions. Fix for Bug #1332461 (Datamatrix 22x22 is always incorrect).
Fixed bugs: - https://launchpad.net/bugs/1332461 (bzr r13440)
Diffstat (limited to 'share/extensions')
-rwxr-xr-xshare/extensions/render_barcode_datamatrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/render_barcode_datamatrix.py b/share/extensions/render_barcode_datamatrix.py
index bca1d2241..83d009db8 100755
--- a/share/extensions/render_barcode_datamatrix.py
+++ b/share/extensions/render_barcode_datamatrix.py
@@ -140,7 +140,7 @@ def get_parameters(nrow, ncol):
elif ( nrow == 20 and ncol == 20 ):
return 18, 18, 1, 1, 22, 18, 1
elif ( nrow == 22 and ncol == 22 ):
- return 18, 18, 1, 1, 30, 20, 1
+ return 20, 20, 1, 1, 30, 20, 1
elif ( nrow == 24 and ncol == 24 ):
return 22, 22, 1, 1, 36, 24, 1
elif ( nrow == 26 and ncol == 26 ):