diff src/exif-common.c @ 495:c7a2471e5c4e

Introduce macros to display debug messages. if (debug) printf(...) is now replaced by variadic macros: DEBUG_1() And for higher debugging levels: DEBUG_2() DEBUG_3() DEBUG_4()
author zas_
date Wed, 23 Apr 2008 20:47:19 +0000
parents 48c8e49b571c
children fc9c8a3e1a8b
line wrap: on
line diff
--- a/src/exif-common.c	Wed Apr 23 13:46:18 2008 +0000
+++ b/src/exif-common.c	Wed Apr 23 20:47:19 2008 +0000
@@ -644,7 +644,7 @@
 				}
 			memcpy(cp_data, data + chunk_offset[i], chunk_length[i]);
 			}
-		if (debug) printf("Found embedded icc profile in jpeg\n");
+		DEBUG_1("Found embedded icc profile in jpeg\n");
 		exif_add_jpeg_color_profile(exif, cp_data, cp_length);
 
 		return TRUE;