diff --git a/source/gui/GameTDB.cpp b/source/gui/GameTDB.cpp index b3aeb99e..97a19831 100644 --- a/source/gui/GameTDB.cpp +++ b/source/gui/GameTDB.cpp @@ -954,7 +954,9 @@ unsigned int GameTDB::FindCaseColor(char * data) char * ColorNode = GetNodeText(data, ""); if(!ColorNode) return color; - + if(strlen(ColorNode) == 0) + return color; + char format[8]; sprintf(format, "0x%s", ColorNode);