Mercurial > geeqie.yaz
diff src/layout_image.c @ 506:fc9c8a3e1a8b
Handle the newline in DEBUG_N() macro instead of adding one
in each debug message string.
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 00:15:03 +0000 |
parents | a33badd85f16 |
children | 135570a8bd96 |
line wrap: on
line diff
--- a/src/layout_image.c Wed Apr 23 23:52:20 2008 +0000 +++ b/src/layout_image.c Thu Apr 24 00:15:03 2008 +0000 @@ -858,7 +858,7 @@ } if (i < MAX_SPLIT_IMAGES) { - DEBUG_1("dnd image activate %d\n", i); + DEBUG_1("dnd image activate %d", i); layout_image_activate(lw, i); } @@ -938,7 +938,7 @@ } if (i < MAX_SPLIT_IMAGES) { - DEBUG_1("dnd get from %d\n", i); + DEBUG_1("dnd get from %d", i); fd = image_get_fd(lw->split_images[i]); } else @@ -1571,7 +1571,7 @@ if (i != -1) { - DEBUG_1("image activate scroll %d\n", i); + DEBUG_1("image activate scroll %d", i); layout_image_activate(lw, i); }