diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-03-13 15:11:32 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-03-13 15:11:32 +0000 |
commit | 7888b56b928707329a84a61eca8f8e75ef6a745a (patch) | |
tree | e4603f29da8e9175c45f5852020483bc0fe56378 /apps/win_main.c | |
parent | 7fa60e876f733f3bd90787145d9a7eb0eb91e9a2 (diff) | |
download | mupdf-7888b56b928707329a84a61eca8f8e75ef6a745a.tar.xz |
Make fz_print functions all take a FILE *.
Also tidy up the taking of fz_context *'s, and hide an unwanted indent
param.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r-- | apps/win_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/win_main.c b/apps/win_main.c index bf28c131..37864e19 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -379,7 +379,7 @@ void winblit() dibinf->bmiHeader.biHeight = -image_h; dibinf->bmiHeader.biSizeImage = image_h * 4; - if (gapp.image->n == 2) + if (image_n == 2) { int i = image_w * image_h; unsigned char *color = malloc(i*4); @@ -397,7 +397,7 @@ void winblit() dibinf, DIB_RGB_COLORS); free(color); } - if (gapp.image->n == 4) + if (image_n == 4) { SetDIBitsToDevice(hdc, gapp.panx, gapp.pany, image_w, image_h, |