Fix build error in IMAP client due to incorrect inequality check in one of BString's inlines. Fixes #6439.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38075 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cf8d18c0a5
commit
323e7fe567
|
@ -421,7 +421,7 @@ BString::operator[](int32 index) const
|
|||
inline char
|
||||
BString::ByteAt(int32 index) const
|
||||
{
|
||||
if (!fPrivateData || index < 0 || index > Length())
|
||||
if (!fPrivateData || index < 0 || index >= Length())
|
||||
return 0;
|
||||
return fPrivateData[index];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue