diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-08-03 00:16:50 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2011-08-03 00:16:50 +0100 |
commit | 14fd48464745204c486690557119d9ce03ac55e6 (patch) | |
tree | 8c1ce5988e3a7982a0002c8186ea26ff505afa92 | |
parent | 3216a4e3d42f335ecc38c6836d8494b747868d9d (diff) | |
download | mupdf-14fd48464745204c486690557119d9ce03ac55e6.tar.xz |
Tweak to list playback code to pass flags as 0 or 1.
When playing back from a list, previously flags would just be 0 or
non-zero. This makes no real difference, but looks odd when traced.
-rw-r--r-- | fitz/dev_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/dev_list.c b/fitz/dev_list.c index a0e8a0bc..be43219c 100644 --- a/fitz/dev_list.c +++ b/fitz/dev_list.c @@ -637,7 +637,7 @@ visible: case FZ_CMD_BEGIN_GROUP: rect = fz_transform_rect(top_ctm, node->rect); fz_begin_group(dev, rect, - node->flag & ISOLATED, node->flag & KNOCKOUT, + (node->flag & ISOLATED) != 0, (node->flag & KNOCKOUT) != 0, node->item.blendmode, node->alpha); break; case FZ_CMD_END_GROUP: |