mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:35:10 +00:00
[FIX] Ignore unavailable statuses
They aren't that useful, especially in MUCs.
This commit is contained in:
parent
0facbaa5e5
commit
389870c5d3
9 changed files with 108 additions and 9 deletions
10
src/Unistr.c
10
src/Unistr.c
|
|
@ -192,6 +192,16 @@ UnistrGetch(Unistr *unistr, size_t i)
|
|||
return i < unistr->length ? unistr->codepoints[i] : 0;
|
||||
}
|
||||
bool
|
||||
UnistrIsASCII(uint32_t u)
|
||||
{
|
||||
if (u == 0)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return u < 0x7F;
|
||||
}
|
||||
bool
|
||||
UnistrIsBMP(uint32_t u)
|
||||
{
|
||||
if (u == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue