changeset 493:e994613f4bad

Only display message if in debug mode.
author zas_
date Wed, 23 Apr 2008 13:03:04 +0000
parents dead6fb690c5
children 3bb9a8df6ee9
files src/layout_image.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/layout_image.c	Wed Apr 23 09:56:21 2008 +0000
+++ b/src/layout_image.c	Wed Apr 23 13:03:04 2008 +0000
@@ -1558,7 +1558,7 @@
 
 	if (i != -1)
 		{
-		printf("image activate scroll %d\n", i);
+		if (debug) printf("image activate scroll %d\n", i);
 		layout_image_activate(lw, i);
 		}