Fixed system teams check.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29887 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2009-04-03 23:36:31 +00:00
parent df0389f978
commit 6c85866b82

View File

@ -115,7 +115,9 @@ TeamListItem::GetInfo()
bool
TeamListItem::IsSystemServer()
{
char* system = "/boot/beos/system/";
// TODO: use find_directory() in place of hardcoded paths
char* system = "/boot/system/";
if (strncmp(system, fInfo.args, strlen(system)) == 0)
return true;