projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new method Layer::reads_context() which returns true iff the layer needs to be...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_bmp
/
trgt_bmp.cpp
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
(file)
--- 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) +
if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf("
.
%04d",imagecount) +
filename_extension(filename));
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
{
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);
}
if(callback)callback->task(filename);
}