In r16700 the name and meaning of that loop condition variable was flipped

around, but the condition itself wasn't which resulted in the code never being
executed. Fixes CID 88.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27692 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-09-22 17:57:31 +00:00
parent e55f4dd23c
commit 708f792ecc

View File

@ -503,7 +503,7 @@ BTranslationUtils::PutStyledText(BTextView *fromView, BPositionIO *intoStream,
// data to the stream. I've gathered all of the data that I
// need at this point.
bool ok = false;
while (ok) {
while (!ok) {
const size_t kStreamHeaderSize =
sizeof(TranslatorStyledTextStreamHeader);
TranslatorStyledTextStreamHeader stm_header;