Revision: 2135
http://synfig.svn.sourceforge.net/synfig/?rev=2135&view=rev
Author: dooglus
Date: 2008-10-26 20:02:07 +0000 (Sun, 26 Oct 2008)
Log Message:
-----------
Show an appropriate error message when the command line --append flag fails to
open a .sif file.
Modified Paths:
--------------
synfig-core/trunk/src/tool/main.cpp
Modified: synfig-core/trunk/src/tool/main.cpp
===================================================================
--- synfig-core/trunk/src/tool/main.cpp 2008-10-26 20:01:48 UTC (rev 2134)
+++ synfig-core/trunk/src/tool/main.cpp 2008-10-26 20:02:07 UTC (rev 2135)
@@ -1179,7 +1179,7 @@
if(!job_list.front().root)
{
- cerr<<_("Unable to open
")<<job_list.front().filename<<"."<<endl;
+ cerr<<_("Unable to load
'")<<job_list.front().filename<<"'."<<endl;
cerr<<_("Throwing out job...")<<endl;
job_list.pop_front();
continue;
@@ -1238,7 +1238,10 @@
String errors;
Canvas::Handle
composite(open_canvas(composite_file, errors));
if(!composite)
+ {
+ cerr<<_("Unable to append
'")<<composite_file<<"'."<<endl;
break;
+ }
Canvas::reverse_iterator iter;
for(iter=composite->rbegin();iter!=composite->rend();++iter)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl