diff options
Diffstat (limited to 'src/common/fs/path_util.cpp')
| -rw-r--r-- | src/common/fs/path_util.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp index bccf953e4..3d88fcf4f 100644 --- a/src/common/fs/path_util.cpp +++ b/src/common/fs/path_util.cpp | |||
| @@ -260,9 +260,8 @@ fs::path GetExeDirectory() { | |||
| 260 | // the Windows library (Filesystem converts the strings literally). | 260 | // the Windows library (Filesystem converts the strings literally). |
| 261 | return fs::path{Common::UTF16ToUTF8(wideExePath)}.parent_path(); | 261 | return fs::path{Common::UTF16ToUTF8(wideExePath)}.parent_path(); |
| 262 | } else { | 262 | } else { |
| 263 | LOG_ERROR(Common_Filesystem, | 263 | LOG_ERROR(Common_Filesystem, "Failed to get the path to the executable of the current " |
| 264 | "[GetExeDirectory] Failed to get the path to the executable of the current " | 264 | "process"); |
| 265 | "process"); | ||
| 266 | } | 265 | } |
| 267 | 266 | ||
| 268 | return fs::path{}; | 267 | return fs::path{}; |
| @@ -279,8 +278,7 @@ fs::path GetAppDataRoamingDirectory() { | |||
| 279 | // the Windows library (Filesystem converts the strings literally). | 278 | // the Windows library (Filesystem converts the strings literally). |
| 280 | return fs::path{Common::UTF16ToUTF8(wideAppdataRoamingPath)}; | 279 | return fs::path{Common::UTF16ToUTF8(wideAppdataRoamingPath)}; |
| 281 | } else { | 280 | } else { |
| 282 | LOG_ERROR(Common_Filesystem, | 281 | LOG_ERROR(Common_Filesystem, "Failed to get the path to the %APPDATA% directory"); |
| 283 | "[GetAppDataRoamingDirectory] Failed to get the path to the %APPDATA% directory"); | ||
| 284 | } | 282 | } |
| 285 | 283 | ||
| 286 | return fs::path{}; | 284 | return fs::path{}; |