mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Add the default extension when no output file is specified.
This commit is contained in:
parent
98fa427456
commit
0c4b2f9e19
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ output_file (const char *ext)
|
||||||
} else {
|
} else {
|
||||||
dstring_copystr (name, options.bspfile);
|
dstring_copystr (name, options.bspfile);
|
||||||
QFS_StripExtension (name->str, name->str);
|
QFS_StripExtension (name->str, name->str);
|
||||||
|
QFS_DefaultExtension (name, ext);
|
||||||
}
|
}
|
||||||
return dstring_freeze (name);
|
return dstring_freeze (name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue