diff --git a/src/cli/action_convert.cpp b/src/cli/action_convert.cpp index 42bd600..c5707be 100644 --- a/src/cli/action_convert.cpp +++ b/src/cli/action_convert.cpp @@ -303,7 +303,7 @@ bool ActionConvert::process_file( outFile = srcFile.parent_path() / srcFile.filename().replace_extension(".vtf"); } else { - outFile = srcFile.parent_path() / userOutputFile; + outFile = userOutputFile; } auto format = ImageFormatFromUserString(formatStr.c_str());