diff --git a/4ed_translation.cpp b/4ed_translation.cpp index 97a15980..11aa4251 100644 --- a/4ed_translation.cpp +++ b/4ed_translation.cpp @@ -143,7 +143,7 @@ translating_select_emit_rule_with_font(System_Functions *system, Render_Font *fo if (desc.prelim_emit_type == BufferModelUnit_Codepoint){ u32 cp = utf8_to_u32_length_unchecked(tran->fill_buffer, &type_out->codepoint_length); if (type_out->codepoint_length != 0){ - if ((cp >= nonchar_min && cp <= nonchar_max) || ((cp & 0xFFFF) >= 0xFE)){ + if ((cp >= nonchar_min && cp <= nonchar_max) || ((cp & 0xFFFF) >= 0xFFFE)){ type_out->emit_type = BufferModelUnit_Numbers; } else{