From 16e2cea32de9976e0b112cf5aa59c2366e58a518 Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Fri, 26 Feb 2010 04:06:34 +0000 Subject: [PATCH] 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 --- Source/Additions/GSObjCRuntime.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Additions/GSObjCRuntime.m b/Source/Additions/GSObjCRuntime.m index 8323b86c3..44e8d4ec2 100644 --- a/Source/Additions/GSObjCRuntime.m +++ b/Source/Additions/GSObjCRuntime.m @@ -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