summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
diff options
context:
space:
mode:
authorRay <[email protected]>2020-03-12 13:02:09 +0100
committerRay <[email protected]>2020-03-12 13:02:09 +0100
commit7fa12844eda0348fee3ddf8f2799074796050ddd (patch)
treeb0229da97d9a46bec19ae3dbcf5c1c4a2128b88b /src/text.c
parentaf011bc9528722bbb12ff5cc8ee21eeea1ff2a16 (diff)
downloadraylib-7fa12844eda0348fee3ddf8f2799074796050ddd.tar.gz
raylib-7fa12844eda0348fee3ddf8f2799074796050ddd.zip
[text] TextToUpper(): Added note on diacritics
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/text.c b/src/text.c
index 12e3cf3e..9276d3b1 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1348,6 +1348,9 @@ const char *TextToUpper(const char *text)
{
buffer[i] = (char)toupper(text[i]);
//if ((text[i] >= 'a') && (text[i] <= 'z')) buffer[i] = text[i] - 32;
+
+ // TODO: Support Utf8 diacritics!
+ //if ((text[i] >= 'à') && (text[i] <= 'ý')) buffer[i] = text[i] - 32;
}
else { buffer[i] = '\0'; break; }
}