From 258f30b979cbbde23db00ccac770de9bc7650f7d Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Sun, 10 Sep 2006 19:47:57 +0200 Subject: [PATCH] fixed meaning of "image-tool -e" switch --- images/image-tool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2