diff options
| author | Ray <[email protected]> | 2020-03-12 13:02:09 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-03-12 13:02:09 +0100 |
| commit | 7fa12844eda0348fee3ddf8f2799074796050ddd (patch) | |
| tree | b0229da97d9a46bec19ae3dbcf5c1c4a2128b88b /src/text.c | |
| parent | af011bc9528722bbb12ff5cc8ee21eeea1ff2a16 (diff) | |
| download | raylib-7fa12844eda0348fee3ddf8f2799074796050ddd.tar.gz raylib-7fa12844eda0348fee3ddf8f2799074796050ddd.zip | |
[text] TextToUpper(): Added note on diacritics
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } } |
