mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-22 23:24:56 -04:00
compile and run in windows (improvements needed)
This commit is contained in:
parent
f55f92a88b
commit
f70b29abab
83 changed files with 415 additions and 3747 deletions
|
@ -956,7 +956,7 @@ static void start_install()
|
|||
char error=0,autostart;
|
||||
get_value(0,60,target_path);
|
||||
if (find_object(waktual,70)!=NULL) autostart=f_get_value(0,70); else autostart=1;
|
||||
strupr(target_path);
|
||||
strupper(target_path);
|
||||
if (validate_path(target_path)==0)
|
||||
{
|
||||
msg_box("Incorrect path",'\x1',"The path is incorrect. Don't use long filenames!","OK",NULL);
|
||||
|
|
|
@ -200,7 +200,7 @@ long check_size(int gr)
|
|||
for(i=0;i<pocet;i++) if (script[i]!=NULL)
|
||||
{
|
||||
if (sscanf(script[i],"%d %s %s",&group,prikaz,work_buff)<1) group=gr+1;
|
||||
strupr(prikaz);
|
||||
strupper(prikaz);
|
||||
if (!strcmp(prikaz,COPY) && group==gr)
|
||||
{
|
||||
struct find_t ft;
|
||||
|
@ -494,7 +494,7 @@ char cascade_delete(char ignore_sav)
|
|||
|
||||
if (c!=NULL)
|
||||
{
|
||||
strupr(c);
|
||||
strupper(c);
|
||||
if (!ignore_sav || strncmp(c,".SAV",4)) remove(f.name);
|
||||
}
|
||||
else remove(f.name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue