replace hard value with the constant

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17118 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-04-13 08:50:04 +00:00
parent b6a33e1d41
commit a0b6c232be
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ DesktopSettings::Private::_Load()
}
int32 i = 0;
while (i < 32
while (i < kMaxWorkspaces
&& settings.FindMessage("workspace", i, &fWorkspaceMessages[i]) == B_OK) {
i++;
}