about summary refs log tree commit diff
path: root/converter/other/jbig/libjbig
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-09-29 18:09:00 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-09-29 18:09:00 +0000
commitcc50498c7b225166b69f04140cd88acd34e156de (patch)
treea93b48f05ca1cb9f966087ae32e4bea444e7e253 /converter/other/jbig/libjbig
parent7e86a800b4635de89de0d2631837b62d01cad874 (diff)
downloadnetpbm-mirror-cc50498c7b225166b69f04140cd88acd34e156de.tar.gz
netpbm-mirror-cc50498c7b225166b69f04140cd88acd34e156de.tar.xz
netpbm-mirror-cc50498c7b225166b69f04140cd88acd34e156de.zip
Fix mx option setting
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3360 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jbig/libjbig')
-rw-r--r--converter/other/jbig/libjbig/jbig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/jbig/libjbig/jbig.c b/converter/other/jbig/libjbig/jbig.c
index 0d29f770..ba9c6452 100644
--- a/converter/other/jbig/libjbig/jbig.c
+++ b/converter/other/jbig/libjbig/jbig.c
@@ -887,7 +887,7 @@ void jbg_enc_options(struct jbg_enc_state *s, int order, int options,
   if (order >= 0 && order <= 0x0f) s->order = order;
   if (options >= 0) s->options = options;
   if (l0 > 0) s->l0 = l0;
-  if (mx >= 0 && my < 128) s->mx = mx;
+  if (mx >= 0 && mx < 128) s->mx = mx;
   if (my >= 0 && my < 256) s->my = my;
 
   return;