# HG changeset patch # User zas_ # Date 1207901440 0 # Node ID c1f75ee307ec4cb05a28c16dba45266062e46efa # Parent 8cecb9695d28dbc894a25939d3ba52826a562624 Only display these messages if debug mode is enabled. diff -r 8cecb9695d28 -r c1f75ee307ec src/layout_image.c --- 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