src/filesystem/beos/SDL_sysfilesystem.cc
changeset 7676 013483acb374
parent 7673 e3d59fb413ad
child 7883 62f562a475e1
     1.1 --- a/src/filesystem/beos/SDL_sysfilesystem.cc	Tue Aug 20 21:29:40 2013 -0400
     1.2 +++ b/src/filesystem/beos/SDL_sysfilesystem.cc	Tue Aug 20 23:20:32 2013 -0400
     1.3 @@ -63,7 +63,7 @@
     1.4          return NULL;
     1.5      }
     1.6  
     1.7 -    strcpy(retval, str);
     1.8 +    SDL_memcpy(retval, str, len);
     1.9      retval[len] = '/';
    1.10      retval[len+1] = '\0';
    1.11      return retval;