summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2010-07-20 12:26:27 +0000
committerSebastian Rasmussen <sebras@hotmail.com>2010-07-20 12:26:27 +0000
commit544fb8ec397bbc5ff847a764e4885144ed852575 (patch)
treed9440bd9e380201268bda206fe1a404e3a3b05a1 /apps
parent3e30988a03ac08b86925f3da803520ccff63831c (diff)
downloadmupdf-544fb8ec397bbc5ff847a764e4885144ed852575.tar.xz
Replace explicit comparisons with MIN/MAX/ABS macros.
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfclean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index f4cd5d5b..ab2ee4c8 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -228,7 +228,7 @@ static void removeduplicateobjs(void)
if (fz_objcmp(a, b))
continue;
- newnumlist[num] = num < other ? num : other;
+ newnumlist[num] = MIN(num, other);
break;
}
}