you can now visit caredbar!

This commit is contained in:
Ondřej Novák 2025-01-28 21:46:19 +01:00
parent bf59962724
commit 3b903e2b52
55 changed files with 953 additions and 1428 deletions

View file

@ -13,7 +13,7 @@ TSTR_LIST read_config(const char *filename)
TSTR_LIST ls;
char buff[256];
f=fopen(filename,"r");
f=fopen_icase(filename,"r");
if (f==NULL) return NULL;
ls=create_list(256);
while (!feof(f))
@ -112,7 +112,7 @@ int save_config(TSTR_LIST ls,const char *filename)
{
int i,cnt,err=0;
FILE *f;
f=fopen(filename,"w");
f=fopen_icase(filename,"w");
if (f==NULL) return -1;
cnt=str_count(ls);
for(i=0;i<cnt && !err;i++) if (ls[i]!=NULL)