mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Null extension is replaced by .rgs
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user