Fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6094 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -376,8 +376,7 @@ _BTypingUndoBuffer_::ForwardErase()
|
|||||||
fTextView->GetSelection(&start, &end);
|
fTextView->GetSelection(&start, &end);
|
||||||
|
|
||||||
int32 charLen = UTF8NextCharLen(fTextView->Text() + start);
|
int32 charLen = UTF8NextCharLen(fTextView->Text() + start);
|
||||||
printf("Char Len: %d\n", charLen);
|
|
||||||
|
|
||||||
if (start != fTypedEnd || end != fTypedEnd || fUndone > 0) {
|
if (start != fTypedEnd || end != fTypedEnd || fUndone > 0) {
|
||||||
Reset();
|
Reset();
|
||||||
// if we've got a selection, we're already done
|
// if we've got a selection, we're already done
|
||||||
@@ -412,4 +411,4 @@ _BTypingUndoBuffer_::ForwardErase()
|
|||||||
free(fTextData);
|
free(fTextData);
|
||||||
fTextData = buffer;
|
fTextData = buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user