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++;
}
miss++;
+g_debug("Loading POI icon: %s", buffer);
pixbuf=gdk_pixbuf_new_from_file(buffer, &error);
if (error)