make functions fall more inline with the standard structure of raylib functions

This commit is contained in:
DissolveDZ 2023-09-30 19:02:10 +02:00
parent 4a6b24f729
commit 3080fd0400

View File

@ -1345,12 +1345,7 @@ Rectangle GetGlyphAtlasRec(Font font, int codepoint)
unsigned int TextLength(const char *text)
{
// use strlen since it uses vector operations
bool result = false;
if (text && strlen(text))
result = true;
return result;
return text ? strlen(text) : 0;
}
// Formatting of text with variables to 'embed'