Fixes r727 not compiling on windows,
Fixes an old issue on Linux where the program couldn't be run from a symbolic to the executable. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@743 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
3
io.c
3
io.c
@@ -39,6 +39,7 @@
|
||||
|
||||
#include "struct.h"
|
||||
#include "io.h"
|
||||
#include "realpath.h"
|
||||
|
||||
word Endian_magic16(word x)
|
||||
{
|
||||
@@ -196,7 +197,7 @@ void Extract_path(char *dest, const char *source)
|
||||
{
|
||||
char * position=NULL;
|
||||
|
||||
realpath(source,dest);
|
||||
Realpath(source,dest);
|
||||
position = Find_last_slash(dest);
|
||||
if (position)
|
||||
*(position+1) = '\0';
|
||||
|
||||
Reference in New Issue
Block a user