projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the default 'toggle onion skin' keyboard shortcut from control-o (which is...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_ppm
/
trgt_ppm.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_ppm/trgt_ppm.cpp
b/synfig-core/trunk/src/modules/mod_ppm/trgt_ppm.cpp
index
effe64d
..
8fc4810
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_ppm/trgt_ppm.cpp
+++ b/
synfig-core/trunk/src/modules/mod_ppm/trgt_ppm.cpp
@@
-104,14
+104,14
@@
ppm::start_frame(synfig::ProgressCallback *callback)
else if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
else if(multi_image)
{
String newfilename(filename_sans_extension(filename) +
- etl::strprintf("%04d",imagecount) +
+ etl::strprintf("
.
%04d",imagecount) +
filename_extension(filename));
filename_extension(filename));
- file=SmartFILE(fopen(newfilename.c_str(),
"wb"
));
+ file=SmartFILE(fopen(newfilename.c_str(),
POPEN_BINARY_WRITE_TYPE
));
if(callback)callback->task(newfilename);
}
else
{
if(callback)callback->task(newfilename);
}
else
{
- file=SmartFILE(fopen(filename.c_str(),
"wb"
));
+ file=SmartFILE(fopen(filename.c_str(),
POPEN_BINARY_WRITE_TYPE
));
if(callback)callback->task(filename);
}
if(callback)callback->task(filename);
}