Skip to content

Commit 282c052

Browse files
flibitijibiboslouken
authored andcommitted
wayland: Another strlen->SDL_strlen
1 parent bec133d commit 282c052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/video/wayland/SDL_waylanddatamanager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ mime_data_list_add(struct wl_list* list,
204204
} else {
205205
WAYLAND_wl_list_insert(list, &(mime_data->link));
206206

207-
mime_type_length = strlen(mime_type) + 1;
207+
mime_type_length = SDL_strlen(mime_type) + 1;
208208
mime_data->mime_type = SDL_malloc(mime_type_length);
209209
if (mime_data->mime_type == NULL) {
210210
status = SDL_OutOfMemory();

0 commit comments

Comments
 (0)