Browse Source

testcustomcursor.c: replaced libc sscanf with SDL_sscanf

Ozkan Sezer 3 years ago
parent
commit
495ee42a83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testcustomcursor.c

+ 1 - 1
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);
 }