Reverting ITMTRemote to 1.24, which is prior to the API change :)
[MenuTunes.git] / KeyCombo.m
index 5248197..409c992 100755 (executable)
@@ -99,7 +99,7 @@
 - (NSString *)userDisplayRep
 {
     if ( ! [self isValid] ) {
 - (NSString *)userDisplayRep
 {
     if ( ! [self isValid] ) {
-        return @"None";
+        return @"";
     } else {
         return [NSString stringWithFormat: @"%@%@",
             [KeyCombo _stringForModifiers: mModifiers],
     } else {
         return [NSString stringWithFormat: @"%@%@",
             [KeyCombo _stringForModifiers: mModifiers],
     static long modToChar[4][2] = {
             { cmdKey,  0x23180000 },
             { optionKey,       0x23250000 },
     static long modToChar[4][2] = {
             { cmdKey,  0x23180000 },
             { optionKey,       0x23250000 },
-            { controlKey,      0x005E0000 },
+            { controlKey,      0x23030000 },
             { shiftKey,        0x21e70000 }
     };
     
             { shiftKey,        0x21e70000 }
     };
     
     KeyCombo *combo;
     
     if (data) {
     KeyCombo *combo;
     
     if (data) {
-        combo = [[NSUnarchiver unarchiveObjectWithData:data] retain];
+        combo = [NSUnarchiver unarchiveObjectWithData:data];
     } else {
     } else {
-        combo = [[KeyCombo alloc] init];
+        combo = nil;
     }
     
     return combo;
     }
     
     return combo;