Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39808 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
acb73fef47
commit
c454897103
@ -193,5 +193,5 @@ ValueLoader::LoadStringValue(BVariant& location, size_t maxSize, BString& _value
|
||||
static const size_t kMaxStringSize = 255;
|
||||
|
||||
return fTeamMemory->ReadMemoryString(location.ToUInt64(),
|
||||
maxSize > kMaxStringSize ? kMaxStringSize : maxSize, _value);
|
||||
std::min(maxSize, kMaxStringSize), _value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user