[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Win64 cleanups (#329)

Nicolas Cellier notifications at github.com
Fri Dec 28 21:03:48 UTC 2018


nicolas-cellier-aka-nice commented on this pull request.



> @@ -207,8 +207,17 @@ void LoadPreferences()
   }
 
   /* get window title from ini file */
+#ifdef UNICODE
+  {
+    TCHAR windowTitleT[MAX_PATH];
+    GetPrivateProfileString(U_GLOBAL, TEXT("WindowTitle"),
+      TEXT(""), windowTitleT, MAX_PATH, squeakIniName);
+    WideCharToMultiByte(CP_UTF8, 0, windowTitleT, -1, windowTitle, MAX_PATH, NULL, NULL);

Definitely! this can only work with -DUNICODE... I will emit a new commit.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/329#discussion_r244407444
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20181228/5b1227a1/attachment.html>


More information about the Vm-dev mailing list