mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/code] Change memcpy to memmove on overlapping buffers
Change-Id: Ic85b177375a4030ad80c8c539ee0084fb095ad44
This commit is contained in:
committed by
EmilieNumworks
parent
8240d3d0df
commit
6aaab293d6
@@ -148,7 +148,7 @@ void ConsoleStore::deleteLineAtIndex(int index) {
|
||||
nextLineStart++;
|
||||
}
|
||||
nextLineStart++;
|
||||
memcpy(&m_history[i], &m_history[nextLineStart], (k_historySize - 1) - nextLineStart + 1);
|
||||
memmove(&m_history[i], &m_history[nextLineStart], (k_historySize - 1) - nextLineStart + 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user