From: Pavel Charvat Date: Sun, 10 Sep 2006 17:47:57 +0000 (+0200) Subject: fixed meaning of "image-tool -e" switch X-Git-Tag: holmes-import~564 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=258f30b979cbbde23db00ccac770de9bc7650f7d;p=libucw.git fixed meaning of "image-tool -e" switch --- diff --git a/images/image-tool.c b/images/image-tool.c index 66f36811..1d4f68a0 100644 --- a/images/image-tool.c +++ b/images/image-tool.c @@ -178,7 +178,8 @@ main(int argc, char **argv) io.fastbuf = bopen(input_file_name, O_RDONLY, 1 << 18); io.format = input_format ? : image_file_name_to_format(input_file_name); #ifdef CONFIG_IMAGES_EXIF - io.flags |= IMAGE_IO_WANT_EXIF; + if (exif) + io.flags |= IMAGE_IO_WANT_EXIF; #endif TRY(image_io_read_header(&io)); if (!output_file_name)