Edit type of string (const char* -> const char [])

Peter0x44
2022-03-06 05:24:53 +00:00
parent 6e20101ae0
commit 8811b3304f

@ -83,7 +83,7 @@ int screenCenterY = GetScreenHeight() / 2;
Next you need to compute how large the text is, and offset the center by half the text size.
```c
const char* text = "Congrats! You created your first window!";
const char text[] = "Congrats! You created your first window!";
int fontSize = 20;
int textWidth = MeasureText(text, fontSize);