Shut up warning

This commit is contained in:
Matthias Neeracher 2011-09-07 05:21:20 +02:00
parent 9eb8b23bb0
commit 2f56c3184d

View File

@ -901,7 +901,7 @@ const float kSemiFloor = -1.0f*kLineH;
NSResponder * hasResponder = [win firstResponder]; NSResponder * hasResponder = [win firstResponder];
if ([self editTarget]) if ([self editTarget])
if (hasResponder != [win fieldEditor:NO forObject:nil] if (hasResponder != [win fieldEditor:NO forObject:nil]
|| [hasResponder delegate] != fFieldEditor || [(id)hasResponder delegate] != fFieldEditor
) )
[win makeFirstResponder:fFieldEditor]; [win makeFirstResponder:fFieldEditor];
} }