mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Fix memmove
This commit is contained in:
parent
5be9b09b40
commit
b9508fb665
@ -98,7 +98,7 @@ MxResult LegoModelPresenter::CreateROI(MxDSChunk* p_chunk)
|
||||
SDL_strlwr(textureName);
|
||||
|
||||
if (textureName[0] == '^') {
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1) + 1);
|
||||
|
||||
if (g_modelPresenterConfig) {
|
||||
texture = new LegoTexture();
|
||||
|
||||
@ -91,7 +91,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
||||
SDL_strlwr(textureName);
|
||||
|
||||
if (textureName[0] == '^') {
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||
memmove(textureName, textureName + 1, strlen(textureName + 1) + 1);
|
||||
|
||||
if (g_partPresenterConfig1) {
|
||||
texture = new LegoTexture();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user