diff options
| author | Dentomologist <dentomologist@gmail.com> | 2022-02-25 21:07:39 -0800 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2022-02-25 21:16:07 -0800 |
| commit | 01bd5e15ba4484c6d49ae569dc620e42f4218838 (patch) | |
| tree | d40871d5634cbd4d830c85de88145d8cbda670f9 /Source/Core/Common/FileUtil.cpp | |
| parent | 0965724ed2bbe078a91addc416813b37d3842c85 (diff) | |
FileUtil: Remove redundant statement
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/FileUtil.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index d84b725e70..8715c50a99 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -859,7 +859,6 @@ std::string GetExePath() } #elif defined(__APPLE__) result = GetBundleDirectory(); - result = result.substr(0, result.find_last_of("Dolphin.app/Contents/MacOS") + 1); #else char dolphin_exe_path[PATH_MAX]; ssize_t len = ::readlink("/proc/self/exe", dolphin_exe_path, sizeof(dolphin_exe_path)); |
