X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_bmp%2Ftrgt_bmp.cpp;h=94834c7ffe2b74e477fa7463c8731b3059cac4a4;hb=13e2aef98f3ce24c04c0362c4ec443efe8970a80;hp=cb51db2585505612fd2d8ab8d00701d96899a88c;hpb=99b75ef1bb279e2314516f922f05696263d5bd27;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_bmp/trgt_bmp.cpp b/synfig-core/trunk/src/modules/mod_bmp/trgt_bmp.cpp index cb51db2..94834c7 100644 --- a/synfig-core/trunk/src/modules/mod_bmp/trgt_bmp.cpp +++ b/synfig-core/trunk/src/modules/mod_bmp/trgt_bmp.cpp @@ -176,14 +176,14 @@ bmp::start_frame(synfig::ProgressCallback *callback) if(multi_image) { String newfilename(filename_sans_extension(filename) + - etl::strprintf("%04d",imagecount) + + etl::strprintf(".%04d",imagecount) + filename_extension(filename)); - file=fopen(newfilename.c_str(),"wb"); + file=fopen(newfilename.c_str(),POPEN_BINARY_WRITE_TYPE); if(callback)callback->task(newfilename+_(" (animated)")); } else { - file=fopen(filename.c_str(),"wb"); + file=fopen(filename.c_str(),POPEN_BINARY_WRITE_TYPE); if(callback)callback->task(filename); }