Fixed loading of ips support in zip files

Fixed ips support in linux
This commit is contained in:
teuf
2001-05-03 20:47:47 +00:00
parent 789914deba
commit d3855ec41f
2 changed files with 46 additions and 2 deletions

View File

@@ -507,6 +507,22 @@ void GetFilename()
strcpy(&fnames, tmp);
fnames = size;
}
char *olddir = NULL;
void pushdir()
{
olddir = (char *)malloc(128);
getcwd(olddir, 128);
}
void popdir()
{
CHPath = olddir;
ZFileCHDir();
free(olddir);
olddir = NULL;
}
#endif