Removed a DEBUGPOINT().
[synfig.git] / synfig-core / trunk / src / modules / mod_gif / trgt_gif.cpp
index 0801310..6b939af 100644 (file)
@@ -58,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),
@@ -132,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();