Fix:core:Silence debug messages in win32 and android graphics.
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 20 May 2012 10:04:45 +0000 (10:04 +0000)
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sun, 20 May 2012 10:04:45 +0000 (10:04 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@5108 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/graphics/android/graphics_android.c
navit/navit/graphics/win32/graphics_win32.c

index 69c8b2c..8e41d68 100644 (file)
@@ -242,7 +242,7 @@ image_new(struct graphics_priv *gra, struct graphics_image_methods *meth, char *
                } else {
                        g_free(ret);
                        ret=NULL;
-                       dbg(0,"Failed to open %s\n",path);
+                       dbg(1,"Failed to open %s\n",path);
                }
                (*jnienv)->DeleteLocalRef(jnienv, string);
                g_hash_table_insert(image_cache_hash, g_strdup( path ),  (gpointer)ret );
index 76b6daa..0a9c320 100644 (file)
@@ -1114,7 +1114,7 @@ pngdecode(struct graphics_priv *gr, char *name, struct graphics_image_priv *img)
     png_file=fopen(name, "rb");
     if (!png_file)
     {
-        dbg(0,"failed to open %s\n",name);
+        dbg(1,"failed to open %s\n",name);
         return FALSE;
     }
 
@@ -1410,7 +1410,7 @@ static struct graphics_image_priv *image_new(struct graphics_priv *gr, struct gr
             }
         }
         if (!rc) {
-            dbg(0, "failed loading '%s'\n", name );
+            dbg(1, "failed loading '%s'\n", name );
             g_free(ret);
             ret=NULL;
         }