]> Pileus Git - grits/blobdiff - src/gis-wms.c
Fix misc bugs and bump version to 0.3
[grits] / src / gis-wms.c
index 0c15e874d00a71e110cfe1090a2c66c8e04ce166..bd4704ddc4322f1b842db670318c7f4465980f9f 100644 (file)
@@ -86,11 +86,9 @@ char *gis_wms_make_local(GisWms *self, GisTile *tile)
 {
        /* Get file path */
        gchar *tile_path = gis_tile_get_path(tile);
-       gchar *path = g_strdup_printf("%s/wms/%s%s%s",
-               g_get_user_cache_dir(),
-               self->cache_prefix,
-               tile_path,
-               self->cache_ext);
+       gchar *path = g_strdup_printf("%s/%s/%s%s%s",
+               g_get_user_cache_dir(), PACKAGE,
+               self->cache_prefix, tile_path, self->cache_ext);
        g_free(tile_path);
 
        /* Return if it already exists */