Fixed warning

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23606 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-01-18 12:09:23 +00:00
parent 75ee0a2911
commit 8afaa47365
1 changed files with 1 additions and 2 deletions

View File

@ -3033,8 +3033,7 @@ BTextView::_HandleAlphaKey(const char *bytes, int32 numBytes)
} }
bool erase = fSelStart != fText->Length(); bool erase = fSelStart != fText->Length();
int32 saveStart = fSelStart;
if (fSelStart != fSelEnd) { if (fSelStart != fSelEnd) {
Highlight(fSelStart, fSelEnd); Highlight(fSelStart, fSelEnd);
DeleteText(fSelStart, fSelEnd); DeleteText(fSelStart, fSelEnd);