From: Kaj-Michael Lang Date: Tue, 11 Mar 2008 13:07:48 +0000 (+0200) Subject: Small debug output fix. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e4e176474b7295244974bb88b140f979d8414fe;p=mapper Small debug output fix. --- 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)