From cc07a78577f5ade6d34c334a321700017e046bef Mon Sep 17 00:00:00 2001 From: yexo Date: Wed, 24 Jun 2009 23:24:01 +0000 Subject: (svn r16650) -Fix (r16649): missing () --- src/ai/ai_scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/ai_scanner.cpp b/src/ai/ai_scanner.cpp index d84335d48..64008d539 100644 --- a/src/ai/ai_scanner.cpp +++ b/src/ai/ai_scanner.cpp @@ -310,7 +310,7 @@ AIInfo *AIScanner::FindInfo(const char *nameParam, int versionParam) snprintf(ai_name_compare, sizeof(ai_name_compare), "%s", (*it).second->GetName()); strtolower(ai_name_compare); - if (strcasecmp(ai_name, ai_name_compare) == 0 && (*it).second->CanLoadFromVersion(versionParam) && version == -1 || (*it).second->GetVersion() > version) { + if (strcasecmp(ai_name, ai_name_compare) == 0 && (*it).second->CanLoadFromVersion(versionParam) && (version == -1 || (*it).second->GetVersion() > version)) { version = (*it).second->GetVersion(); info = (*it).second; } -- cgit v1.2.3-70-g09d2