X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=src%2Fgis-wms.c;h=bd4704ddc4322f1b842db670318c7f4465980f9f;hp=0c15e874d00a71e110cfe1090a2c66c8e04ce166;hb=becee285e152746e64b6d3984e2a7229f664062d;hpb=35eef7db3248843c17de23c5636ff9c8610ea191 diff --git a/src/gis-wms.c b/src/gis-wms.c index 0c15e87..bd4704d 100644 --- a/src/gis-wms.c +++ b/src/gis-wms.c @@ -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 */