mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 02:46:08 +08:00
testcustomcursor.c: replaced libc sscanf with SDL_sscanf
This commit is contained in:
@@ -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);
|
return SDL_CreateCursor(data, mask, 32, 32, hot_x, hot_y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user