|
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
|
|
|
|
|
#include "memoryleak.h"
|
|
|
|
|
#include "map.h"
|
|
|
|
|
#include "convert_port.h"
|
|
|
|
|
#include "ncurses_port.h"
|
|
|
|
|
#include "system.h"
|
|
|
|
|
|
|
|
|
|
char curfile[LEN_FILENAME];
|
|
|
|
|
@ -307,8 +307,8 @@ int main (int argc, char *argv[]) {
|
|
|
|
|
mkdir (cfg.cachepath, 0755);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (stat(cfg.datapath, &sb) == -1) {
|
|
|
|
|
mkdir (cfg.datapath, 0755);
|
|
|
|
|
if (stat(cfg.mappath, &sb) == -1) {
|
|
|
|
|
mkdir (cfg.mappath, 0755);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config_init ();
|
|
|
|
|
|