Load_surface() has 3 arguments since commit bfbeaf4ca86d55eca4d995a7f1c505fbd4a42854
This commit is contained in:
parent
8f440cc988
commit
e32f915a5c
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user