mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
|
else
|
||||||
{
|
{
|
||||||
|
#if NeXT_RUNTIME
|
||||||
return sel_getUid(name);
|
return sel_getUid(name);
|
||||||
|
#else
|
||||||
|
return sel_get_any_uid(name); // return 0 if not found
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SEL
|
SEL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue