mirror of https://github.com/stella-emu/stella.git
fixed merge error
This commit is contained in:
parent
f607fab9bb
commit
00544ddbe9
|
@ -689,7 +689,7 @@ void PromptWidget::textPaste()
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void PromptWidget::addToHistory(const char* str)
|
void PromptWidget::addToHistory(const char* str)
|
||||||
{
|
{
|
||||||
strncpy(_history[_historyIndex], str, kLineBufferSize - 1);
|
strncpy_s(_history[_historyIndex], str, kLineBufferSize - 1);
|
||||||
_historyIndex = (_historyIndex + 1) % kHistorySize;
|
_historyIndex = (_historyIndex + 1) % kHistorySize;
|
||||||
_historyLine = 0;
|
_historyLine = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue