--- Server/config.c 2024/11/03 10:40:12 1.3 +++ Server/config.c 2024/11/19 07:55:13 1.4 @@ -1,4 +1,4 @@ -/* $Id: config.c,v 1.3 2024/11/03 10:40:12 nishi Exp $ */ +/* $Id: config.c,v 1.4 2024/11/19 07:55:13 nishi Exp $ */ #define SOURCE @@ -392,7 +392,9 @@ int tw_config_read(const char* path) { cm_log("Config", "Missing path at line %d", ln); stop = 1; } else { +#ifndef WINCE chdir(r[1]); +#endif free(config.server_root); config.server_root = cm_strdup(r[1]); }