]> err.no Git - mapper/commitdiff
misc
authorKaj-Michael Lang <milang@angel.tal.org>
Wed, 3 Oct 2007 16:05:42 +0000 (19:05 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Wed, 3 Oct 2007 16:05:42 +0000 (19:05 +0300)
src/bt-bluez.c
src/map-poi.c

index a1c206c40813a85dac9a07e587b52c20de716210..8bf6d4ee1ad0046153afe5cae5c9075452276de7 100644 (file)
@@ -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:
index 54f96254f56174a9d8de12dd93c59a7960761706..ebb4ea37c2c3de08b490924a9cc5b09e83eec662 100644 (file)
@@ -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)