From 282c05247912ad5aa52928a781eb9b3acdd9d898 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Thu, 8 Apr 2021 14:59:04 -0400 Subject: [PATCH] wayland: Another strlen->SDL_strlen --- src/video/wayland/SDL_waylanddatamanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylanddatamanager.c b/src/video/wayland/SDL_waylanddatamanager.c index a9cbaae7c..bd40e7306 100644 --- a/src/video/wayland/SDL_waylanddatamanager.c +++ b/src/video/wayland/SDL_waylanddatamanager.c @@ -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();