Pārlūkot izejas kodu

[text] TextToUpper(): Added note on diacritics

pull/1132/head
Ray pirms 5 gadiem
vecāks
revīzija
7fa12844ed
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      src/text.c

+ 3
- 0
src/text.c Parādīt failu

@ -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; }
}

Notiek ielāde…
Atcelt
Saglabāt