Cocoa: Fix regression in private use area check

This fixes a regression introduced by
ad9eb768c9.

(cherry picked from commit e47832ffcf)
This commit is contained in:
Camilla Löwy 2020-06-29 23:14:16 +02:00 committed by Camilla Löwy
parent 9cae95faa3
commit e6646c8508

View File

@ -744,7 +744,7 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
range:range
remainingRange:&range])
{
if ((codepoint & 0xff00) == 0xf700)
if (codepoint >= 0xf700 && codepoint <= 0xf7ff)
continue;
_glfwInputChar(window, codepoint, mods, plain);