Debugged stringValue -> title for buttons.

Pascal J. Bourguignon [2014-04-03 04:43]
Debugged stringValue -> title for buttons.
Filename
sources/HangmanController.m
diff --git a/sources/HangmanController.m b/sources/HangmanController.m
index e1aac5d..77bdce3 100644
--- a/sources/HangmanController.m
+++ b/sources/HangmanController.m
@@ -192,7 +192,7 @@
     if([sender isKindOfClass:[NSMatrix class]]) {
         return [[sender selectedCell] title];
     }else{
-        return [sender stringValue];}}
+        return [sender title];}}


 -(void)processLetter:(NSString*)letter{
ViewGit