[Common] Fix CPath::SetComponents for non win32 system
This commit is contained in:
parent
848502e088
commit
7eccf17c90
|
@ -612,7 +612,7 @@ void CPath::SetComponents(const char * lpszDirectory, const char * lpszName, con
|
|||
{
|
||||
strncat(buff_fullname,lpszName,sizeof(buff_fullname));
|
||||
}
|
||||
if (lpszExtension != NULL)
|
||||
if (lpszExtension != NULL && lpszExtension[0] != '\0')
|
||||
{
|
||||
if (lpszExtension[0] != '.')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue