summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXKeyEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXKeyEvent.c')
-rw-r--r--macosx/tkMacOSXKeyEvent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c
index 677f77e..1aa9b73 100644
--- a/macosx/tkMacOSXKeyEvent.c
+++ b/macosx/tkMacOSXKeyEvent.c
@@ -293,7 +293,7 @@ static unsigned isFunctionKey(unsigned int code);
NSString *str;
str = ([aString isKindOfClass: [NSAttributedString class]]) ?
- str = [aString string] : aString;
+ [aString string] : aString;
len = [str length];
if (NS_KEYLOG) {
@@ -396,7 +396,7 @@ static unsigned isFunctionKey(unsigned int code);
NSString *str;
str = ([aString isKindOfClass: [NSAttributedString class]]) ?
- str = [aString string] : aString;
+ [aString string] : aString;
if (focusWin) {