[Rawstudio-dev] [PATCH] Fix a probable typo or copy/paste error in raw_ifd_walker

Edouard Gomez ed.gomez at free.fr
Thu Aug 31 00:49:43 CEST 2006


Hello,

I may be wrong, but maybe this patch is worth being applied to trunk.

# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1156977476 -7200
# Node ID 59883e4cc541d98f915296a71279dfa4d6aa2d56
# Parent  61696ac168c992fd45dbbabe449acfb56a403829
Fix a probable typo or copy/paste error in raw_ifd_walker

diff -r 61696ac168c9 -r 59883e4cc541 src/tiff-meta.c
--- a/src/tiff-meta.c	Wed Aug 30 23:46:03 2006 +0200
+++ b/src/tiff-meta.c	Thu Aug 31 00:37:56 2006 +0200
@@ -337,7 +337,7 @@ raw_ifd_walker(RAWFILE *rawfile, guint o
 				break;
 			case 0x0201: /* jpeg start */
 				raw_get_uint(rawfile, offset, &meta->thumbnail_start);
-				meta->preview_start += rawfile->base;
+				meta->thumbnail_start += rawfile->base;
 				break;
 			case 0x0202: /* jpeg length */
 				raw_get_uint(rawfile, offset, &meta->thumbnail_length);

-- 
Edouard Gomez



More information about the Rawstudio-dev mailing list