aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindow.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-02-19 20:38:12 +0000
committerrowanbeentje <rowan@beent.je>2011-02-19 20:38:12 +0000
commit82c9827989cef9342a42496e40c40ff8f2531448 (patch)
tree1787d944b4190890bd01fdfa10c7cb6b1f82dd99 /Source/SPWindow.m
parent18e6341897fdc02ede79074e235464b542cdef0d (diff)
downloadsequelpro-82c9827989cef9342a42496e40c40ff8f2531448.tar.gz
sequelpro-82c9827989cef9342a42496e40c40ff8f2531448.tar.bz2
sequelpro-82c9827989cef9342a42496e40c40ff8f2531448.zip
- Fix exceptions caused by uncombined accents/special characters, addressing the exception for Issue #987 (http://spbug.com/l/1948)
Diffstat (limited to 'Source/SPWindow.m')
-rw-r--r--Source/SPWindow.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPWindow.m b/Source/SPWindow.m
index 58f38d0b..8f2354db 100644
--- a/Source/SPWindow.m
+++ b/Source/SPWindow.m
@@ -38,7 +38,7 @@
- (void) sendEvent:(NSEvent *)theEvent
{
- if ([theEvent type] == NSKeyDown && [[theEvent characters] length]) {
+ if ([theEvent type] == NSKeyDown && [[theEvent charactersIgnoringModifiers] length]) {
unichar theCharacter = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];