Add the default extension when no output file is specified.

This commit is contained in:
Bill Currie 2010-10-16 22:09:18 +09:00
parent 98fa427456
commit 0c4b2f9e19

View file

@ -263,6 +263,7 @@ output_file (const char *ext)
} else {
dstring_copystr (name, options.bspfile);
QFS_StripExtension (name->str, name->str);
QFS_DefaultExtension (name, ext);
}
return dstring_freeze (name);
}