Some minor tweaks
This commit is contained in:
parent
ea598f7d77
commit
f3aac87422
1 changed files with 5 additions and 7 deletions
|
|
@ -2910,7 +2910,7 @@ const char *GetFileName(const char *filePath)
|
|||
// Get filename string without extension (uses static string)
|
||||
const char *GetFileNameWithoutExt(const char *filePath)
|
||||
{
|
||||
#define MAX_FILENAMEWITHOUTEXT_LENGTH 128
|
||||
#define MAX_FILENAMEWITHOUTEXT_LENGTH 256
|
||||
|
||||
static char fileName[MAX_FILENAMEWITHOUTEXT_LENGTH] = { 0 };
|
||||
memset(fileName, 0, MAX_FILENAMEWITHOUTEXT_LENGTH);
|
||||
|
|
|
|||
Loading…
Reference in a new issue