gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 234/411: tests/server/util.c: fix support for Windows Unicode bu


From: gnunet
Subject: [gnurl] 234/411: tests/server/util.c: fix support for Windows Unicode builds
Date: Wed, 13 Jan 2021 01:20:49 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 112418070a5e61de248509b4bbb4986c962094f8
Author: Marc Hoersken <info@marc-hoersken.de>
AuthorDate: Tue Oct 13 20:23:40 2020 +0200

    tests/server/util.c: fix support for Windows Unicode builds
    
    Detected via #6066
    Closes #6070
---
 tests/server/util.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/server/util.c b/tests/server/util.c
index e95d574f9..7dac532d7 100644
--- a/tests/server/util.c
+++ b/tests/server/util.c
@@ -682,13 +682,14 @@ static DWORD WINAPI main_window_loop(LPVOID lpParameter)
   ZeroMemory(&wc, sizeof(wc));
   wc.lpfnWndProc = (WNDPROC)main_window_proc;
   wc.hInstance = (HINSTANCE)lpParameter;
-  wc.lpszClassName = "MainWClass";
+  wc.lpszClassName = TEXT("MainWClass");
   if(!RegisterClass(&wc)) {
     perror("RegisterClass failed");
     return (DWORD)-1;
   }
 
-  hidden_main_window = CreateWindowEx(0, "MainWClass", "Recv WM_CLOSE msg",
+  hidden_main_window = CreateWindowEx(0, TEXT("MainWClass"),
+                                      TEXT("Recv WM_CLOSE msg"),
                                       WS_OVERLAPPEDWINDOW,
                                       CW_USEDEFAULT, CW_USEDEFAULT,
                                       CW_USEDEFAULT, CW_USEDEFAULT,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]