From a5c294876b8c1962048f3ca7e08554f94822f273 Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 8 Apr 2007 03:42:41 +0000 Subject: [PATCH] Fix 1696282. To find the extension, look for the last '.' in the output filename, not the first. git-svn-id: http://svn.voria.com/code@444 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/tool/main.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 387670d..424d2ea 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -955,19 +955,14 @@ int main(int argc, char *argv[]) // If the target type is not yet defined, // try to figure it out from the outfile. if(target_name.empty() && !job_list.front().outfilename.empty()) - try { VERBOSE_OUT(3)<<_("Target name undefined, attempting to figure it out")<