Use SDL_strdup instead of strdup

main
Mathieu Eyraud 2023-06-15 09:59:07 +02:00 committed by Sam Lantinga
parent 73927b0948
commit 62ed6f453f
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ static void *GetSelectionData(SDL_VideoDevice *_this, Atom selection_type, size_
} }
if (nullterminate && data == NULL) { if (nullterminate && data == NULL) {
data = strdup(""); data = SDL_strdup("");
} }
return data; return data;