X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_mng%2Ftrgt_mng.cpp;h=01bebf4351642a7d03db1e029135346abe0bcdb0;hb=18baf4d4fe523d84ad741d7fde0f10a58d47587b;hp=d92584653a3381bbfa9e063f4420bd041ee04206;hpb=31bab200aa3a0800c44197b0b41be7cfafdd8da7;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_mng/trgt_mng.cpp b/synfig-core/trunk/src/modules/mod_mng/trgt_mng.cpp index d925846..01bebf4 100644 --- a/synfig-core/trunk/src/modules/mod_mng/trgt_mng.cpp +++ b/synfig-core/trunk/src/modules/mod_mng/trgt_mng.cpp @@ -148,7 +148,7 @@ mng_trgt::init(){ struct tm* gmt = gmtime(&t); w=desc.get_w(); h=desc.get_h(); //synfig::error("mng_trgt: init %d %d",w,h); - file = fopen(filename.c_str(), "wb"); + file = fopen(filename.c_str(), POPEN_BINARY_WRITE_TYPE); if( file == NULL ) goto cleanup_on_error; mng = mng_initialize((mng_ptr)file, mng_alloc_proc, mng_free_proc, MNG_NULL); if(mng == MNG_NULL) goto cleanup_on_error;