From: Kaj-Michael Lang Date: Wed, 3 Oct 2007 16:05:42 +0000 (+0300) Subject: misc X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00b4bad021f2f2054ead576789613dadab2f7633;p=mapper misc --- diff --git a/src/bt-bluez.c b/src/bt-bluez.c index a1c206c..8bf6d4e 100644 --- a/src/bt-bluez.c +++ b/src/bt-bluez.c @@ -73,7 +73,7 @@ if (r != 0) { case EINPROGRESS: case EALREADY: g_printf("*** Connection in progress... %d %d\n", e, r); - perror("ERROR: "); + perror("INFO: "); return TRUE; break; case EHOSTUNREACH: diff --git a/src/map-poi.c b/src/map-poi.c index 54f9625..ebb4ea3 100644 --- a/src/map-poi.c +++ b/src/map-poi.c @@ -61,7 +61,7 @@ pixbuf = g_hash_table_lookup(poi_icon_hash, icon); if (pixbuf) return pixbuf; -snprintf(buffer, sizeof(buffer), DATADIR "/map-icons/classic.small/%s.png", icon); +g_snprintf(buffer, sizeof(buffer), DATADIR "/map-icons/classic.small/%s.png", icon); pixbuf=gdk_pixbuf_new_from_file(buffer, &error); if (error)