SDL_windows_main.c: replace CopyMemory() with SDL_memcpy()

This commit is contained in:
Ozkan Sezer 2022-06-06 22:55:56 +03:00
parent ec0204d243
commit 63e12cf601
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ main_getcmdline(void)
if (!argv[i]) {
return OutOfMemory();
}
CopyMemory(argv[i], arg, len);
SDL_memcpy(argv[i], arg, len);
SDL_free(arg);
}
argv[i] = NULL;