REVIEWED: Coding conventions

This commit is contained in:
Ray
2024-12-03 19:14:14 +01:00
parent b50d418ec7
commit 1f45e7af76
7 changed files with 61 additions and 50 deletions

View File

@@ -1282,7 +1282,7 @@ Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing
{
Vector2 textSize = { 0 };
if ((isGpuReady && (font.texture.id == 0)) ||
if ((isGpuReady && (font.texture.id == 0)) ||
(text == NULL) || (text[0] == '\0')) return textSize; // Security check
int size = TextLength(text); // Get size in bytes of text