mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-02-21 03:00:37 +00:00
wayland: Another strlen->SDL_strlen
This commit is contained in:
parent
bec133d77b
commit
282c052479
@ -204,7 +204,7 @@ mime_data_list_add(struct wl_list* list,
|
||||
} else {
|
||||
WAYLAND_wl_list_insert(list, &(mime_data->link));
|
||||
|
||||
mime_type_length = strlen(mime_type) + 1;
|
||||
mime_type_length = SDL_strlen(mime_type) + 1;
|
||||
mime_data->mime_type = SDL_malloc(mime_type_length);
|
||||
if (mime_data->mime_type == NULL) {
|
||||
status = SDL_OutOfMemory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user