changeset 1094:7401c51915da

Silence the last image-debugging messages
author Jorge Arellano Cid <jcid@dillo.org>
date Wed, 13 May 2009 13:05:29 -0400
parents 8341560d6bd4
children 468e535f1435
files src/gif.c src/jpeg.c src/png.c
diffstat 3 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/gif.c	Wed May 13 13:41:19 2009 +0000
+++ b/src/gif.c	Wed May 13 13:05:29 2009 -0400
@@ -153,7 +153,7 @@
 void *a_Gif_new(DilloImage *Image, DilloUrl *url, int version)
 {
    DilloGif *gif = dMalloc(sizeof(DilloGif));
-   MSG("a_Gif_new: gif=%p\n", gif);
+   _MSG("a_Gif_new: gif=%p\n", gif);
 
    gif->Image = Image;
    gif->url = url;
@@ -181,7 +181,7 @@
 {
    int i;
 
-   MSG("Gif_free: gif=%p\n", gif);
+   _MSG("Gif_free: gif=%p\n", gif);
 
    dFree(gif->linebuf);
    if (gif->spill_lines != NULL) {
--- a/src/jpeg.c	Wed May 13 13:41:19 2009 +0000
+++ b/src/jpeg.c	Wed May 13 13:05:29 2009 -0400
@@ -98,7 +98,7 @@
  */
 static void Jpeg_free(DilloJpeg *jpeg)
 {
-   MSG("Jpeg_free: jpeg=%p\n", jpeg);
+   _MSG("Jpeg_free: jpeg=%p\n", jpeg);
    jpeg_destroy_decompress(&(jpeg->cinfo));
    dFree(jpeg);
 }
@@ -183,7 +183,7 @@
 {
    my_source_mgr *src;
    DilloJpeg *jpeg = dMalloc(sizeof(*jpeg));
-   MSG("a_Jpeg_new: jpeg=%p\n", jpeg);
+   _MSG("a_Jpeg_new: jpeg=%p\n", jpeg);
 
    jpeg->Image = Image;
    jpeg->url = url;
--- a/src/png.c	Wed May 13 13:41:19 2009 +0000
+++ b/src/png.c	Wed May 13 13:05:29 2009 -0400
@@ -295,7 +295,7 @@
  */
 static void Png_free(DilloPng *png)
 {
-   MSG("Png_free: png=%p\n", png);
+   _MSG("Png_free: png=%p\n", png);
 
    dFree(png->image_data);
    dFree(png->row_pointers);
@@ -429,7 +429,7 @@
 void *a_Png_new(DilloImage *Image, DilloUrl *url, int version)
 {
    DilloPng *png = dNew0(DilloPng, 1);
-   MSG("a_Png_new: png=%p\n", png);
+   _MSG("a_Png_new: png=%p\n", png);
 
    png->Image = Image;
    png->url = url;