mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
GSSelectorFromName() should return 0 if not found
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29761 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
233f362171
commit
16e2cea32d
1 changed files with 4 additions and 0 deletions
|
@ -137,7 +137,11 @@ GSSelectorFromName(const char *name)
|
|||
}
|
||||
else
|
||||
{
|
||||
#if NeXT_RUNTIME
|
||||
return sel_getUid(name);
|
||||
#else
|
||||
return sel_get_any_uid(name); // return 0 if not found
|
||||
#endif
|
||||
}
|
||||
}
|
||||
SEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue