From 336141346b04f6ca6fc881312e191c20b1f4a92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= Date: Wed, 17 Oct 2012 15:31:21 -0400 Subject: [PATCH] wfreerdp-server: fix non-unicode build --- server/Windows/wf_settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Windows/wf_settings.c b/server/Windows/wf_settings.c index c5e703ffe..84a4de2be 100644 --- a/server/Windows/wf_settings.c +++ b/server/Windows/wf_settings.c @@ -92,7 +92,7 @@ BOOL wf_settings_read_string_ascii(HKEY key, LPTSTR subkey, LPTSTR name, char** strA[length] = '\0'; free(strX); #else - strA = (char*) str; + strA = (char*) strX; #endif *value = strA; return TRUE;