summaryrefslogtreecommitdiff
path: root/office/texlive/debian/upstream-svn31303-dvipdfmx
blob: 08aea061f2e4a8a68603348bd91c8ae3987aed40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
upstream svn31303 fix for dvipdfmx
---
 texk/dvipdfmx/src/jpegimage.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- texlive-bin.orig/texk/dvipdfmx/src/jpegimage.c
+++ texlive-bin/texk/dvipdfmx/src/jpegimage.c
@@ -360,7 +360,7 @@
     struct JPEG_APPn_JFIF *app_data;
     int i;
     for (i = 0; i < j_info->num_appn; i++) {
-      if (j_info->appn[i].marker  == JM_APP0 ||
+      if (j_info->appn[i].marker  == JM_APP0 &&
 	  j_info->appn[i].app_sig == JS_APPn_JFIF)
         break;
     }