More Haiku fixes.

This commit is contained in:
Ryan C. Gordon 2013-08-20 20:39:22 -04:00
parent e3073916d8
commit 433252b9e8

View file

@ -27,6 +27,7 @@
#include <os/kernel/image.h>
#include <os/storage/Directory.h>
#include <os/storage/Entry.h>
#include <os/storage/Path.h>
#include "SDL_error.h"
@ -62,7 +63,7 @@ SDL_GetBasePath(void)
return NULL;
}
SDL_strcpy(retval, str);
strcpy(retval, str);
retval[len] = '/';
retval[len+1] = '\0';
return retval;