Commit 495ee42a83f73b9fca051bb9567457286f2779ec

Ozkan Sezer 2021-11-20T01:15:20

testcustomcursor.c: replaced libc sscanf with SDL_sscanf

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testcustomcursor.c b/test/testcustomcursor.c
index c8536ef..741118d 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);
 }