From 80b2661dc6adb530aa891bc9376fcc5ef1dadc54 Mon Sep 17 00:00:00 2001 From: "kjellander@webrtc.org" Date: Wed, 7 Dec 2011 18:50:17 +0000 Subject: [PATCH] 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 --- test/testsupport/fileutils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testsupport/fileutils.cc b/test/testsupport/fileutils.cc index 84e9593203..129651fd9f 100644 --- a/test/testsupport/fileutils.cc +++ b/test/testsupport/fileutils.cc @@ -134,7 +134,7 @@ std::string ResourcePath(std::string name, std::string extension) { std::string resources_path = ProjectRootPath() + kResourcesDirName + kPathDelimiter; std::string resource_file = resources_path + name + "_" + platform + "_" + architecture + "." + extension; - if (!FileExists(resource_file)) { + if (FileExists(resource_file)) { return resource_file; } // Try without architecture.