Changeset 144


Ignore:
Timestamp:
Oct 17, 2009, 3:34:35 PM (5 years ago)
Author:
simon
Message:

create tiles folder if not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/tile-renderer.c

    r142 r144  
    2020#include "src/memphis.h" 
    2121#include <stdlib.h> 
     22#include <glib.h> 
     23#include <glib/gstdio.h> 
    2224 
    2325#define RESOLUTION 256 
     
    4446  else 
    4547    mapfile = "map.osm"; 
     48 
     49  g_mkdir ("tiles", 0755); 
    4650 
    4751  rules = memphis_rule_set_new (); 
Note: See TracChangeset for help on using the changeset viewer.