mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
Reverted commit 48092 - The comparison is explicitly intended to detect if the background table field was passed to the method, so it won't try to do a redundant copy to itself
svn-id: r48094
This commit is contained in:
parent
41314a3561
commit
734c922f16
@ -210,7 +210,7 @@ int loadBackground(const char *name, int idx) {
|
||||
|
||||
MemFree(ptrToFree);
|
||||
|
||||
if (strcmp(name, backgroundTable[idx].name)) {
|
||||
if (name != backgroundTable[idx].name) {
|
||||
if (strlen(name) >= sizeof(backgroundTable[idx].name))
|
||||
warning("background name length exceeded allowable maximum");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user