ncurses version fixed..

master
steffen 13 years ago
parent 6eb422d368
commit 5d5fefe138

@ -2,6 +2,9 @@
OSMroute already.
=============================================================================
(2013-05-02):
- fixed: ncurses version fixed, the last patches made it impossible to
compile.
- fixed: areas haven't been updated right.
- added: areas have subid now.

@ -149,11 +149,13 @@ void config_init () {
config_save ();
#if defined(SPOSMROUTE)
if (cfg.gps_flags) SETFLAG(gpsflags, GPSF_LOG);
else DELFLAG(gpsflags, GPSF_LOG);
if (cfg.debug) SETFLAG(view_flags, DRAW_DEBUG);
else DELFLAG(view_flags, DRAW_DEBUG);
#endif
};

@ -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 ();

Loading…
Cancel
Save