Fixing invalid check for existing file.
Review URL: http://webrtc-codereview.appspot.com/313002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1124 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -134,7 +134,7 @@ std::string ResourcePath(std::string name, std::string extension) {
|
|||||||
std::string resources_path = ProjectRootPath() + kResourcesDirName + kPathDelimiter;
|
std::string resources_path = ProjectRootPath() + kResourcesDirName + kPathDelimiter;
|
||||||
std::string resource_file = resources_path + name + "_" + platform + "_" +
|
std::string resource_file = resources_path + name + "_" + platform + "_" +
|
||||||
architecture + "." + extension;
|
architecture + "." + extension;
|
||||||
if (!FileExists(resource_file)) {
|
if (FileExists(resource_file)) {
|
||||||
return resource_file;
|
return resource_file;
|
||||||
}
|
}
|
||||||
// Try without architecture.
|
// Try without architecture.
|
||||||
|
Reference in New Issue
Block a user