From 4abfe88c6e94e899852e60da85a076792609cd8a Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Fri, 9 Aug 2024 16:07:35 +0100 Subject: [PATCH] deps: mountutils: Missing TEXT macro --- src/dependencies/mountutils/src/windows/functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dependencies/mountutils/src/windows/functions.cpp b/src/dependencies/mountutils/src/windows/functions.cpp index 4f1e0cd..8597442 100644 --- a/src/dependencies/mountutils/src/windows/functions.cpp +++ b/src/dependencies/mountutils/src/windows/functions.cpp @@ -407,7 +407,7 @@ MOUNTUTILS_RESULT EjectDriveLetter(TCHAR driveLetter) { BOOL IsDriveEjectable(TCHAR driveLetter) { TCHAR devicePath[8]; - swprintf_s(devicePath, 8, "%c:\\", driveLetter); + swprintf_s(devicePath, 8, TEXT("%c:\\"), driveLetter); MountUtilsLog("Checking whether drive is ejectable: " + std::string(1, driveLetter));