summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-01-18 16:39:50 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-01-18 16:39:50 -0500
commit530001a433c847b40d109d08cd8ff0958efdca1c (patch)
tree4e0a65206f5b243ce0bb56f71735572eed6df90f
parenta3adbe5ea6015a76a3df84ee5942b89fbb762947 (diff)
apparently plane 3 does exist
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index 7662092..54694ce 100644
--- a/text.c
+++ b/text.c
@@ -188,7 +188,7 @@ void text_chars_end(Font *font) {
}
void text_render_char(Font *font, TextRenderState *state, char32_t c) {
- if (c >= 0x30000 && c < 0xE0000){
+ if (c >= 0x40000 && c < 0xE0000){
// these Unicode code points are currently unassigned. replace them with a Unicode box.
// (specifically, we don't want to use extra memory for pages which
// won't even have any valid characters in them)