mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-23 10:36:21 +00:00
[text] TextToUpper(): Added note on diacritics
This commit is contained in:
@@ -1348,6 +1348,9 @@ const char *TextToUpper(const char *text)
|
|||||||
{
|
{
|
||||||
buffer[i] = (char)toupper(text[i]);
|
buffer[i] = (char)toupper(text[i]);
|
||||||
//if ((text[i] >= 'a') && (text[i] <= 'z')) buffer[i] = text[i] - 32;
|
//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; }
|
else { buffer[i] = '\0'; break; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user