Null extension is replaced by .rgs

This commit is contained in:
Ray
2018-05-23 13:57:47 +02:00
parent b636fdc7d0
commit 53f539c560

View File

@ -679,7 +679,7 @@ static void BtnSaveStyle(const char *defaultName, bool binary)
if (fileName != NULL)
{
//if (GetExtension(fileName) == NULL) strcat(fileName, ".rgs\0"); // No extension provided
if (GetExtension(fileName) == NULL) strcat(fileName, ".rgs\0"); // No extension provided
if (fileName != NULL) SaveStyleRGS(fileName, binary); // Save style file (text or binary)
}
}