the BS button now behaves like the real BackSpace. Fixes bug #1617.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23786 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-01-30 09:10:14 +00:00
parent 2ac009f9d6
commit acb25a9724
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ ExpressionTextView::SetExpression(const char* expression)
void void
ExpressionTextView::BackSpace() ExpressionTextView::BackSpace()
{ {
if (Window()) const char bytes[1] = { B_BACKSPACE };
Window()->PostMessage(B_UNDO, this); KeyDown(bytes, 1);
} }