summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-20 14:30:06 -0800
committerlouie <lshprung@yahoo.com>2020-12-20 14:30:06 -0800
commit468126196aba8aa60289393d5c0e5c8b3b2efcfb (patch)
treef5672b22094c1c7f5b761c2590d33f61911c6cbd /draw.c
parentd5e9b653d91556e500b4659ee6895a117d919c85 (diff)
Built framework for config auto-generation
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index 7afcd94..7e58d23 100644
--- a/draw.c
+++ b/draw.c
@@ -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