mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-16 03:15:40 +00:00
RENAMED: Variable names for consistency, textLength (length in bytes) vs textSize (measure in pixels)
This commit is contained in:
@@ -2770,9 +2770,9 @@ static const char *GetFileNameWithoutExt(const char *filePath)
|
||||
|
||||
if (filePath != NULL) strncpy(fileName, GetFileName(filePath), MAX_FILENAMEWITHOUTEXT_LENGTH - 1); // Get filename with extension
|
||||
|
||||
int size = (int)strlen(fileName); // Get size in bytes
|
||||
int fileNameLength = (int)strlen(fileName); // Get size in bytes
|
||||
|
||||
for (int i = 0; (i < size) && (i < MAX_FILENAMEWITHOUTEXT_LENGTH); i++)
|
||||
for (int i = 0; (i < fileNameLength) && (i < MAX_FILENAMEWITHOUTEXT_LENGTH); i++)
|
||||
{
|
||||
if (fileName[i] == '.')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user