diff src/layout_image.c @ 302:c1f75ee307ec

Only display these messages if debug mode is enabled.
author zas_
date Fri, 11 Apr 2008 08:10:40 +0000
parents d1f74154463e
children b16b9b8979e5
line wrap: on
line diff
--- a/src/layout_image.c	Thu Apr 10 19:27:42 2008 +0000
+++ b/src/layout_image.c	Fri Apr 11 08:10:40 2008 +0000
@@ -831,7 +831,7 @@
 		}
 	if (i < MAX_SPLIT_IMAGES)
 		{
-		printf("dnd image activate %d\n", i);
+		if (debug) printf("dnd image activate %d\n", i);
 		layout_image_activate(lw, i);
 		}
 
@@ -911,7 +911,7 @@
 		}
 	if (i < MAX_SPLIT_IMAGES)
 		{
-		printf("dnd get from %d\n", i);
+		if (debug) printf("dnd get from %d\n", i);
 		fd = image_get_fd(lw->split_images[i]);
 		}
 	else