wayland: Another strlen->SDL_strlen

This commit is contained in:
Ethan Lee authored and Sam Lantinga committed 2021-04-09 22:30:08 -07:00
1 parent bec133d77b
commit 282c052479
1 file changed
+1 -1
+1 -1
View File
@@ -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();