aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/refprop-headers/unicode-build.diff
blob: 4dc210a4c3d09c48f8e58bc101a314c590898e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/REFPROP_lib.h b/REFPROP_lib.h
index 60fb64a..df10d2c 100644
--- a/REFPROP_lib.h
+++ b/REFPROP_lib.h
@@ -762,7 +762,7 @@ extern "C" {
                     #ifndef UNICODE
                         msg = dllPath;
                     #else
-                        std::wstring wStr = t;
+                        std::wstring wStr = dllPath;
                         msg = std::string(wStr.begin(), wStr.end());
                     #endif
                     RPPath_loaded = msg;