aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/image.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/image.el')
-rw-r--r--lisp/image.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el
index 8d12b680ea9..74a23046e94 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -261,7 +261,7 @@ We accept the tag Exif because that is the same format."
261 (setq i (1+ i)) 261 (setq i (1+ i))
262 (when (>= (+ i 2) len) 262 (when (>= (+ i 2) len)
263 (throw 'jfif nil)) 263 (throw 'jfif nil))
264 (let ((nbytes (+ (lsh (aref data (+ i 1)) 8) 264 (let ((nbytes (+ (ash (aref data (+ i 1)) 8)
265 (aref data (+ i 2)))) 265 (aref data (+ i 2))))
266 (code (aref data i))) 266 (code (aref data i)))
267 (when (and (>= code #xe0) (<= code #xef)) 267 (when (and (>= code #xe0) (<= code #xef))