|
From: | Miguel de Benito Delgado |
Subject: | [Texmacs-dev] Keyboard bug + solution |
Date: | Fri, 5 Nov 2010 23:22:20 +0100 |
-[NSCFString characterAtIndex:]: Range or index out of bounds
NSEvent *mac_handler_body(NSEvent *event)
{
if (([event type] == NSKeyDown) || ([event type] == NSKeyUp)) {
NSString *nss = [event charactersIgnoringModifiers];
if ([nss length] > 0) {
unichar key = [nss characterAtIndex:0];
diff-against-3522.zip
Description: Zip archive
[Prev in Thread] | Current Thread | [Next in Thread] |