Ticket #8212: console_killword.diff
File console_killword.diff, 654 bytes (added by , 22 years ago) |
---|
-
gui/console.cpp
RCS file: /cvsroot/scummvm/scummvm/gui/console.cpp,v retrieving revision 1.24 diff -u -r1.24 console.cpp
320 320 } 321 321 322 322 for (int i = _currentPos; i < _promptEndPos; i++) 323 _buffer[i % kBufferSize] = _buffer[(i+cnt +1) % kBufferSize];323 _buffer[i % kBufferSize] = _buffer[(i+cnt) % kBufferSize]; 324 324 _buffer[_promptEndPos % kBufferSize] = ' '; 325 _promptEndPos -= cnt + 1;325 _promptEndPos -= cnt; 326 326 } 327 327 328 328 void ConsoleDialog::addToHistory(const char *str) {