[Scummvm-cvs-logs] SF.net SVN: scummvm:[46031] tools/branches/gsoc2009-gui/compress.cpp
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Sat Nov 21 01:37:54 CET 2009
Revision: 46031
http://scummvm.svn.sourceforge.net/scummvm/?rev=46031&view=rev
Author: joostp
Date: 2009-11-21 00:37:54 +0000 (Sat, 21 Nov 2009)
Log Message:
-----------
fix --mp3/vorbis/flac argument parsing swallowing the last non-audio argument
Modified Paths:
--------------
tools/branches/gsoc2009-gui/compress.cpp
Modified: tools/branches/gsoc2009-gui/compress.cpp
===================================================================
--- tools/branches/gsoc2009-gui/compress.cpp 2009-11-20 23:37:56 UTC (rev 46030)
+++ tools/branches/gsoc2009-gui/compress.cpp 2009-11-21 00:37:54 UTC (rev 46031)
@@ -743,6 +743,7 @@
} else if (arg == "--silent") {
encparms.silent = 1;
} else {
+ _arguments.push_front(arg); //put back the non-audio argument we popped.
break;
}
}
@@ -823,6 +824,7 @@
} else if (arg == "--silent") {
oggparms.silent = 1;
} else {
+ _arguments.push_front(arg); //put back the non-audio argument we popped.
break;
}
}
@@ -867,6 +869,7 @@
} else if (arg == "--silent") {
flacparms.silent = true;
} else {
+ _arguments.push_front(arg); //put back the non-audio argument we popped.
break;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list