X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_png%2Fmptr_png.cpp;h=ffdc153a6e30d556c17ee94cf34f007f4cfb993e;hb=11c3c866616ccaedc988fd9d4f0410ea2df38de8;hp=23aa9aa469ad6341e8c0692ff5d55bb895d64393;hpb=657023f1c16cba4b3908ef61f5ac0ce7f2969128;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp index 23aa9aa..ffdc153 100644 --- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp +++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp @@ -388,7 +388,7 @@ png_mptr::png_mptr(const char *file_name) orig_height = height; trimmed_x = min_x; trimmed_y = min_y; - + width=max_x-min_x+1; height=max_y-min_y+1; synfig::Surface tmp_buffer;