diff options
| author | Léo Lam <leo@leolam.fr> | 2022-03-02 12:27:21 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-02 12:27:21 +0100 |
| commit | bcc14d32b821bfc932f81269b336df7a325393ea (patch) | |
| tree | ce979ff7441a0e943045c65a7993481b060b129a /Source/Core/Common/FileUtil.cpp | |
| parent | ebfee3b2deb6024ec9e59d1cbc6049eb1848fd53 (diff) | |
| parent | 01bd5e15ba4484c6d49ae569dc620e42f4218838 (diff) | |
Merge pull request #10482 from Dentomologist/remove_redundant_statement
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)); |
