Fixed a nasty bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8482 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6cd5d5b1f1
commit
f7021a391f
@ -345,9 +345,9 @@ status_t CursorSet::FindCursor(cursor_which which, ServerCursor **cursor)
|
|||||||
*/
|
*/
|
||||||
const char *CursorSet::GetName(void)
|
const char *CursorSet::GetName(void)
|
||||||
{
|
{
|
||||||
BString name;
|
const char *name = NULL;
|
||||||
if(FindString("name",&name)==B_OK)
|
if (FindString("name", &name) == B_OK)
|
||||||
return name.String();
|
return name;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user