Adds an extension to the file name in the path buffer.
If extension is NULL, the extension will be unset.
If the path buffer does not have a file name set, this function returns FALSE and leaves the path buffer unmodified.
the file extension
TRUE if the extension was replaced, and FALSE otherwise
Adds an extension to the file name in the path buffer.
If extension is NULL, the extension will be unset.
If the path buffer does not have a file name set, this function returns FALSE and leaves the path buffer unmodified.