Refine the error handling made in rev2373

Review URL: https://webrtc-codereview.appspot.com/644005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2421 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
braveyao@webrtc.org 2012-06-19 06:38:59 +00:00
parent 67f256fab4
commit dfa6b697e2

View File

@ -1193,8 +1193,7 @@ CWinTestDlg::CWinTestDlg(CWnd* pParent /*=NULL*/)
std::string resource_path = webrtc::test::ProjectRootPath();
if (resource_path == webrtc::test::kCannotFindProjectRootDir) {
// Rollback to relative path to the location of 'voice_engine.gyp'.
_long_audio_file_path = "../../data/voice_engine/";
_long_audio_file_path = "./";
} else {
_long_audio_file_path = resource_path + "data\\voice_engine\\";
}