fix Merge_layer() prototype

This commit is contained in:
Thomas Bernard 2019-05-11 11:46:20 +02:00
parent 1dc7c746a2
commit d8f30b5a8d
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
2 changed files with 2 additions and 2 deletions

View File

@ -1482,7 +1482,7 @@ byte Delete_layer(T_List_of_pages *list, int layer)
/// Merges the current layer onto the one below it.
byte Merge_layer()
byte Merge_layer(void)
{
int i;
for (i=0; i<Main.image_width*Main.image_height; i++)

View File

@ -58,7 +58,7 @@ byte Add_layer(T_List_of_pages *list, int layer);
/// Delete a layer from the latest page of a list. Returns 0 on success.
byte Delete_layer(T_List_of_pages *list, int layer);
/// Merges the current layer onto the one below it.
byte Merge_layer();
byte Merge_layer(void);
/// Backs up a layer, unless it's already different from previous history step.
int Dup_layer_if_shared(T_Page * page, int layer);