Fixed warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23606 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
75ee0a2911
commit
8afaa47365
|
@ -3033,8 +3033,7 @@ BTextView::_HandleAlphaKey(const char *bytes, int32 numBytes)
|
|||
}
|
||||
|
||||
bool erase = fSelStart != fText->Length();
|
||||
int32 saveStart = fSelStart;
|
||||
|
||||
|
||||
if (fSelStart != fSelEnd) {
|
||||
Highlight(fSelStart, fSelEnd);
|
||||
DeleteText(fSelStart, fSelEnd);
|
||||
|
|
Loading…
Reference in New Issue