Dario Manesku 10 years ago
parent
commit
205fa041e9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/common/entry/entry_osx.mm

+ 1 - 1
examples/common/entry/entry_osx.mm

@@ -312,7 +312,7 @@ namespace entry
 							{
 							{
 								enum { ShiftMask = Modifier::LeftShift|Modifier::RightShift };
 								enum { ShiftMask = Modifier::LeftShift|Modifier::RightShift };
 								const bool nonShiftModifiers = (0 != (modifiers&(~ShiftMask) ) );
 								const bool nonShiftModifiers = (0 != (modifiers&(~ShiftMask) ) );
-								const bool isCharPressed = (Key::Key0 <= key && key <= Key::KeyZ) || (Key::Esc  <= key && key <= Key::Minus) ;
+								const bool isCharPressed = (Key::Key0 <= key && key <= Key::KeyZ) || (Key::Esc <= key && key <= Key::Minus);
 								const bool isText = isCharPressed && !nonShiftModifiers;
 								const bool isText = isCharPressed && !nonShiftModifiers;
 								if (isText)
 								if (isText)
 								{
 								{