Fixed warnings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6094 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-01-15 07:17:18 +00:00
parent 1ad8f49ef2
commit 8db7015c26

View File

@ -376,8 +376,7 @@ _BTypingUndoBuffer_::ForwardErase()
fTextView->GetSelection(&start, &end);
int32 charLen = UTF8NextCharLen(fTextView->Text() + start);
printf("Char Len: %d\n", charLen);
if (start != fTypedEnd || end != fTypedEnd || fUndone > 0) {
Reset();
// if we've got a selection, we're already done
@ -412,4 +411,4 @@ _BTypingUndoBuffer_::ForwardErase()
free(fTextData);
fTextData = buffer;
}
}
}