Load_surface() has 3 arguments since commit bfbeaf4ca86d55eca4d995a7f1c505fbd4a42854

This commit is contained in:
Thomas Bernard 2023-04-07 00:34:56 +02:00
parent 8f440cc988
commit e32f915a5c
No known key found for this signature in database
GPG Key ID: DB511043A31ACAAF

View File

@ -327,11 +327,7 @@ void Allow_drag_and_drop(int flag)
void Define_icon(void)
{
char * icon_path;
icon_path = Filepath_append_to_dir(Data_directory, "gfx2.png"); // 48x48
icon = Load_surface(icon_path, NULL);
free(icon_path);
icon = Load_surface("gfx2.png", Data_directory, NULL); // 48x48
}
void Set_mouse_position(void)