From 8e4e176474b7295244974bb88b140f979d8414fe Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 11 Mar 2008 15:07:48 +0200 Subject: [PATCH] Small debug output fix. --- src/poi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poi.c b/src/poi.c index b50674d..3d106b0 100644 --- a/src/poi.c +++ b/src/poi.c @@ -894,12 +894,11 @@ if (icon==NULL) if (strlen(icon)==0) return NULL; -g_debug("POI icon cache: %d / %d\n", hit, miss); +g_debug("POI icon cache: %d / %d", hit, miss); g_snprintf(buffer, sizeof(buffer), "%s/%s.%s/%s.png", theme_base, theme, (big==TRUE) ? "big" : "small", icon); -g_debug("Loading POI icon: %s", buffer); pixbuf=g_hash_table_lookup(poi_icon_hash, buffer); if (pixbuf) { hit++; @@ -907,6 +906,7 @@ if (pixbuf) { } miss++; +g_debug("Loading POI icon: %s", buffer); pixbuf=gdk_pixbuf_new_from_file(buffer, &error); if (error) -- 2.39.5