From faa387c0f855c0ec2ec46301be51fcb50acf6c33 Mon Sep 17 00:00:00 2001 From: Jochem Herz Date: Sat, 11 Apr 2026 23:49:15 +0200 Subject: [PATCH] Change words pointer to const for text alignment To allow compilation with strict GCC --- examples/text/text_words_alignment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/text/text_words_alignment.c b/examples/text/text_words_alignment.c index f0ebc78a5..47f0fe2a1 100644 --- a/examples/text/text_words_alignment.c +++ b/examples/text/text_words_alignment.c @@ -50,7 +50,7 @@ int main(void) // Define the text we're going to draw in the rectangle int wordIndex = 0; int wordCount = 0; - char **words = TextSplit("raylib is a simple and easy-to-use library to enjoy videogames programming", ' ', &wordCount); + const char **words = TextSplit("raylib is a simple and easy-to-use library to enjoy videogames programming", ' ', &wordCount); // Initialize the font size we're going to use int fontSize = 40;