fix Merge_layer() prototype
This commit is contained in:
parent
1dc7c746a2
commit
d8f30b5a8d
@ -1482,7 +1482,7 @@ byte Delete_layer(T_List_of_pages *list, int layer)
|
|||||||
|
|
||||||
|
|
||||||
/// Merges the current layer onto the one below it.
|
/// Merges the current layer onto the one below it.
|
||||||
byte Merge_layer()
|
byte Merge_layer(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i=0; i<Main.image_width*Main.image_height; i++)
|
for (i=0; i<Main.image_width*Main.image_height; i++)
|
||||||
|
|||||||
@ -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.
|
/// Delete a layer from the latest page of a list. Returns 0 on success.
|
||||||
byte Delete_layer(T_List_of_pages *list, int layer);
|
byte Delete_layer(T_List_of_pages *list, int layer);
|
||||||
/// Merges the current layer onto the one below it.
|
/// 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.
|
/// Backs up a layer, unless it's already different from previous history step.
|
||||||
int Dup_layer_if_shared(T_Page * page, int layer);
|
int Dup_layer_if_shared(T_Page * page, int layer);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user