diff options
author | louie <lshprung@yahoo.com> | 2020-12-20 14:30:06 -0800 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2020-12-20 14:30:06 -0800 |
commit | 468126196aba8aa60289393d5c0e5c8b3b2efcfb (patch) | |
tree | f5672b22094c1c7f5b761c2590d33f61911c6cbd /draw.c | |
parent | d5e9b653d91556e500b4659ee6895a117d919c85 (diff) |
Built framework for config auto-generation
Diffstat (limited to 'draw.c')
-rw-r--r-- | draw.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -29,7 +29,6 @@ void switch_col(); void trav_col(int new_i); int locateChar(char input); char *get_launch(); -char *compat_convert(char *path, int mode); #if defined _WIN32 || defined _WIN64 void win_launch(); #endif @@ -57,7 +56,11 @@ int main(int argc, char **argv){ //if a config path was given as an argument, set it accordingly if(argc > 2 && (!strcmp(argv[1], "-c") || !strcmp(argv[1], "--cfg_path"))) strcpy(cfg_path, argv[2]); +#if defined _WIN32 || defined _WIN64 + else strcpy(cfg_path, find_config_win()); +#else else strcpy(cfg_path, find_config()); +#endif //Fill Groups cfg_interp(cfg_path); //read the contents of the cfg file |