From 82c522f2ea73173c1348e27e571cd72db59f695b Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 16 Dec 2011 13:39:48 +0000 Subject: [PATCH] [NTDLL/LDR] - Fix SxS path calculation, now it returns proper full path to the DLL instead of just "C:\ReactOS\winsxs". Spotted by AbiWord 2.9.2. svn path=/trunk/; revision=54659 --- reactos/dll/ntdll/ldr/ldrutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/ntdll/ldr/ldrutils.c b/reactos/dll/ntdll/ldr/ldrutils.c index 5109e8011f0..de93a738b34 100644 --- a/reactos/dll/ntdll/ldr/ldrutils.c +++ b/reactos/dll/ntdll/ldr/ldrutils.c @@ -45,7 +45,7 @@ NTSTATUS create_module_activation_context( LDR_DATA_TABLE_ENTRY *module ) NTSTATUS find_actctx_dll( LPCWSTR libname, WCHAR *fullname ) { - static const WCHAR winsxsW[] = {'\\','w','i','n','s','x','s','\\',0}; + static const WCHAR winsxsW[] = {'\\','w','i','n','s','x','s','\\'}; static const WCHAR dotManifestW[] = {'.','m','a','n','i','f','e','s','t',0}; ACTIVATION_CONTEXT_ASSEMBLY_DETAILED_INFORMATION *info;