From: dooglus Date: Sun, 3 Feb 2008 10:19:26 +0000 (+0000) Subject: Recognise .GIF and .gIf (ie. upper and mixed case extensions) in the target file... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3f11cd07d0b39fbd614ca1f8b0eb903dc5571fc8;p=synfig.git Recognise .GIF and .gIf (ie. upper and mixed case extensions) in the target file name. Previously only lower case extensions were recognised. git-svn-id: http://svn.voria.com/code@1561 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 22f5a98..e595f42 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -962,7 +962,17 @@ int main(int argc, char *argv[]) if(Target::ext_book().count(ext)) target_name=Target::ext_book()[ext]; else - target_name=ext; + { + string lower_ext(ext); + + for(unsigned int i=0;i