bugfix for method name termination

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-02-27 09:01:32 +00:00
parent 6d8b617959
commit 28a76a26bd
2 changed files with 4 additions and 0 deletions

View file

@ -183,6 +183,7 @@
hi = islower(lo) ? toupper(lo) : lo;
buf[4] = hi;
buf[size+4] = ':';
buf[size+5] = '\0';
name = buf; // _setKey:
type = NULL;
@ -245,6 +246,7 @@
hi = islower(lo) ? toupper(lo) : lo;
buf[4] = hi;
buf[size+4] = ':';
buf[size+5] = '\0';
name = &buf[1]; // setKey:
type = NULL;