summaryrefslogtreecommitdiff
path: root/src/burn/engine/logging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/logging.cpp')
-rw-r--r--src/burn/engine/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/burn/engine/logging.cpp b/src/burn/engine/logging.cpp
index 1b2bec1f..8e89957b 100644
--- a/src/burn/engine/logging.cpp
+++ b/src/burn/engine/logging.cpp
@@ -140,7 +140,7 @@ extern "C" HRESULT LoggingOpen(
140 LPCWSTR wzPrefix = sczPrefixFormatted; 140 LPCWSTR wzPrefix = sczPrefixFormatted;
141 141
142 // Best effort to open default logging. 142 // Best effort to open default logging.
143 if (PathIsAbsolute(sczPrefixFormatted)) 143 if (PathIsRooted(sczPrefixFormatted))
144 { 144 {
145 hr = PathGetDirectory(sczPrefixFormatted, &sczLoggingBaseFolder); 145 hr = PathGetDirectory(sczPrefixFormatted, &sczLoggingBaseFolder);
146 ExitOnFailure(hr, "Failed to get parent directory from '%ls'.", sczPrefixFormatted); 146 ExitOnFailure(hr, "Failed to get parent directory from '%ls'.", sczPrefixFormatted);