This commit is contained in:
jl777
2016-10-29 10:30:09 -03:00
parent f71f89bb8b
commit 323832c3c3
2 changed files with 7 additions and 3 deletions

View File

@@ -1268,11 +1268,11 @@ void komodo_configfile(char *symbol,uint16_t port)
#ifdef WIN32
while ( fname[strlen(fname)-1] != '\\' )
fname[strlen(fname)-1] = 0;
strcat(fname,".komodo/komodo.conf");
strcat(fname,"komodo.conf");
#else
while ( fname[strlen(fname)-1] != '/' )
fname[strlen(fname)-1] = 0;
strcat(fname,".komodo/komodo.conf");
strcat(fname,"komodo.conf");
#endif
printf("KOMODO.(%s)\n",fname);
if ( (fp= fopen(fname,"rb")) != 0 )