More Haiku fixes.
This commit is contained in:
parent
26992a5a9f
commit
aa07924132
1 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
#include <os/kernel/image.h>
|
#include <os/kernel/image.h>
|
||||||
#include <os/storage/Directory.h>
|
#include <os/storage/Directory.h>
|
||||||
|
#include <os/storage/Entry.h>
|
||||||
#include <os/storage/Path.h>
|
#include <os/storage/Path.h>
|
||||||
|
|
||||||
#include "SDL_error.h"
|
#include "SDL_error.h"
|
||||||
|
@ -62,7 +63,7 @@ SDL_GetBasePath(void)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_strcpy(retval, str);
|
strcpy(retval, str);
|
||||||
retval[len] = '/';
|
retval[len] = '/';
|
||||||
retval[len+1] = '\0';
|
retval[len+1] = '\0';
|
||||||
return retval;
|
return retval;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue