Commit 97500fe5e for imagemagick.org
commit 97500fe5e90dc198b15dea0b9b4d4b9e229afc3b
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Fri Feb 6 12:13:25 2026 +0100
Use CreateWidePath instead of create_wchar_path.
diff --git a/MagickCore/nt-base.c b/MagickCore/nt-base.c
index c9e138199..e747e6f51 100644
--- a/MagickCore/nt-base.c
+++ b/MagickCore/nt-base.c
@@ -3082,7 +3082,7 @@ MagickPrivate void NTWindowsGenesis(void)
wchar_t
*lib_path;
- lib_path=create_wchar_path((const char *) path);
+ lib_path=CreateWidePath((const char *) path);
if (lib_path != (wchar_t *) NULL)
{
SetDllDirectoryW(lib_path);