From 495ee42a83f73b9fca051bb9567457286f2779ec Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 20 Nov 2021 01:15:20 +0300 Subject: [PATCH] testcustomcursor.c: replaced libc sscanf with SDL_sscanf --- test/testcustomcursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testcustomcursor.c b/test/testcustomcursor.c index c8536eff8..741118d99 100644 --- a/test/testcustomcursor.c +++ b/test/testcustomcursor.c @@ -128,7 +128,7 @@ init_system_cursor(const char *image[]) } } } - sscanf(image[4+row], "%d,%d", &hot_x, &hot_y); + SDL_sscanf(image[4+row], "%d,%d", &hot_x, &hot_y); return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y); }