Fixed error message when multiple files detected on command line.

This commit is contained in:
Bart Trzynadlowski 2011-09-09 20:41:55 +00:00
parent 0495421cbc
commit e724d0ec0b

View file

@ -1344,7 +1344,7 @@ int main(int argc, char **argv)
else else
{ {
if (fileIdx) // already specified a file if (fileIdx) // already specified a file
ErrorLog("Multiple files specified. Using %s, ignoring %s.", argv[i], argv[fileIdx]); ErrorLog("Multiple files specified. Using %s, ignoring %s.", argv[fileIdx], argv[i]);
else else
fileIdx = i; fileIdx = i;
} }