mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
trying to debug, additional rewrites
This commit is contained in:
parent
378b5586ab
commit
42f780a729
87 changed files with 1771 additions and 529 deletions
|
@ -1,3 +1,4 @@
|
|||
#include <types.h>
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <mem.h>
|
||||
|
@ -27,7 +28,7 @@ void open_files(char *src,char *tgr)
|
|||
char *c,*d;
|
||||
tgr=alloca(strlen(src)+5);
|
||||
strcpy(tgr,src);
|
||||
c=strrchr(tgr,'\\');
|
||||
c=strrchr(tgr,PATH_SEPARATOR_CHR);
|
||||
d=strrchr(tgr,'.');
|
||||
if (c>d) d=strchr(tgr,0);
|
||||
strcpy(d,".ENC");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue