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:
Paul Gilbert 2010-02-20 10:32:25 +00:00
parent 41314a3561
commit 734c922f16

View File

@ -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");