X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_gif%2Ftrgt_gif.cpp;h=6b939af6586c7c505cb32b13c8f9fb39718e2141;hb=70dccb34d96712a0d2eb26332ee4d32ed2678c25;hp=8cfbc50d63a18932f03da6dfb1800994b66b2885;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp b/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp index 8cfbc50..6b939af 100644 --- a/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp +++ b/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp @@ -2,6 +2,8 @@ /*! \file trgt_gif.cpp ** \brief BMP Target Module ** +** $Id$ +** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** @@ -56,7 +58,7 @@ SYNFIG_TARGET_SET_CVS_ID(gif,"$Id$"); gif::gif(const char *filename_): filename(filename_), - file( (filename=="-")?stdout:fopen(filename_,"wb") ), + file( (filename=="-")?stdout:fopen(filename_,POPEN_BINARY_WRITE_TYPE) ), imagecount(0), lossy(true), @@ -130,7 +132,7 @@ gif::init() else fputc((0xF0+(rootsize-1))&~(1<<7),file.get()); // flags - fputc(0,file.get()); // backgound color + fputc(0,file.get()); // background color fputc(0,file.get()); // Pixel Aspect Ratio DEBUGPOINT();