mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-26 17:16:20 +00:00
Fixed: -o option of tga2dds for directory output
This commit is contained in:
parent
3446cb4038
commit
344fc44359
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ int main(int argc, char **argv)
|
||||||
// if OptOutputFileName is a directory, append the original filename
|
// if OptOutputFileName is a directory, append the original filename
|
||||||
if (CFile::isDirectory(OptOutputFileName))
|
if (CFile::isDirectory(OptOutputFileName))
|
||||||
{
|
{
|
||||||
outputFileName = CPath::standardizePath(outputFileName) + getOutputFileName(inputFileName);
|
outputFileName = CPath::standardizePath(OptOutputFileName) + CFile::getFilename(getOutputFileName(inputFileName));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue