Skip to content

Commit

Permalink
More Haiku fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 21, 2013
1 parent 24006be commit fb7a029
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/filesystem/beos/SDL_sysfilesystem.cc
Expand Up @@ -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"
Expand Down Expand Up @@ -62,7 +63,7 @@ SDL_GetBasePath(void)
return NULL;
}

SDL_strcpy(retval, str);
strcpy(retval, str);
retval[len] = '/';
retval[len+1] = '\0';
return retval;
Expand Down

0 comments on commit fb7a029

Please sign in to comment.