mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:00:38 +00:00
Fix small bugs found by static analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31410 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9663941b71
commit
eefcd4bb09
3 changed files with 11 additions and 8 deletions
|
@ -477,12 +477,6 @@ static id buttonCellClass = nil;
|
|||
if ([self isEnabled])
|
||||
{
|
||||
NSString *characters = [theEvent characters];
|
||||
unichar character = 0;
|
||||
|
||||
if ([characters length] > 0)
|
||||
{
|
||||
character = [characters characterAtIndex: 0];
|
||||
}
|
||||
|
||||
/* Handle SPACE to perform a click */
|
||||
if ([characters isEqualToString: @" "])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue