]> mj.ucw.cz Git - leo.git/blobdiff - style.c
Parametrized drawing of map scale
[leo.git] / style.c
diff --git a/style.c b/style.c
index b2a342ac267bf3ece60b0dc95b557ad3bfbc9d3d..d8fd4c5bce2aefb5b0fea3018d06ecea73688a87 100644 (file)
--- a/style.c
+++ b/style.c
@@ -125,6 +125,11 @@ static struct style_info *style_get_info(struct style_results *r, layer_t layer)
   return r->layers[layer];
 }
 
+void style_enable_default_layer(struct style_results *r)
+{
+  style_get_info(r, STYLE_LAYER_DEFAULT);
+}
+
 void style_set_by_layer(struct style_results *r, layer_t layer, struct style_prop *p)
 {
   if (layer == STYLE_LAYER_ALL)