From: dooglus Date: Sun, 8 Apr 2007 03:42:41 +0000 (+0000) Subject: Fix 1696282. To find the extension, look for the last '.' in the output filename... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=a5c294876b8c1962048f3ca7e08554f94822f273;p=synfig.git 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 --- 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")<