Ticket #8215: text_backspace.diff
File text_backspace.diff, 566 bytes (added by , 22 years ago) |
---|
-
gui/EditTextWidget.cpp
RCS file: /cvsroot/scummvm/scummvm/gui/EditTextWidget.cpp,v retrieving revision 1.9 diff -u -r1.9 EditTextWidget.cpp
71 71 dirty = true; 72 72 break; 73 73 case 8: // backspace 74 _label.deleteLastChar(); 75 if (_pos > 0) 74 if (_pos > 0) { 76 75 _pos--; 76 _label.deleteChar(_pos); 77 } 77 78 dirty = true; 78 79 break; 79 80 case 127: // delete