Cocoa: Fix regression in private use area check

This fixes a regression introduced by
ad9eb768c9.
master
Camilla Löwy ago%!(EXTRA string=5 years)
parent ad9eb768c9
commit e47832ffcf
  1. 2
      src/cocoa_window.m

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

Loading…
Cancel
Save