mirror of https://github.com/encounter/SDL.git
SDL_windows_main.c: replace CopyMemory() with SDL_memcpy()
This commit is contained in:
parent
ec0204d243
commit
63e12cf601
|
@ -70,7 +70,7 @@ main_getcmdline(void)
|
||||||
if (!argv[i]) {
|
if (!argv[i]) {
|
||||||
return OutOfMemory();
|
return OutOfMemory();
|
||||||
}
|
}
|
||||||
CopyMemory(argv[i], arg, len);
|
SDL_memcpy(argv[i], arg, len);
|
||||||
SDL_free(arg);
|
SDL_free(arg);
|
||||||
}
|
}
|
||||||
argv[i] = NULL;
|
argv[i] = NULL;
|
||||||
|
|
Loading…
Reference in New Issue