aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/refprop-headers/unicode-build.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/refprop-headers/unicode-build.diff')
-rw-r--r--vcpkg/ports/refprop-headers/unicode-build.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/refprop-headers/unicode-build.diff b/vcpkg/ports/refprop-headers/unicode-build.diff
new file mode 100644
index 0000000..4dc210a
--- /dev/null
+++ b/vcpkg/ports/refprop-headers/unicode-build.diff
@@ -0,0 +1,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;