Fix L_SetPictureSize()
just call Upload_infos_page() just before calling Backup_with_new_dimensions() fixes http://pulkomandy.tk/projects/GrafX2/ticket/37
This commit is contained in:
parent
559085a614
commit
6a01368242
@ -394,6 +394,7 @@ int L_SetPictureSize(lua_State* L)
|
|||||||
{
|
{
|
||||||
// Script has not modified the image/palette yet, so it's not backed up:
|
// Script has not modified the image/palette yet, so it's not backed up:
|
||||||
// Make a backup that counts as a new Undo step.
|
// Make a backup that counts as a new Undo step.
|
||||||
|
Upload_infos_page(&Main);
|
||||||
Backup_with_new_dimensions(w, h);
|
Backup_with_new_dimensions(w, h);
|
||||||
}
|
}
|
||||||
// part of Resize_image() : the pixel copy part.
|
// part of Resize_image() : the pixel copy part.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user