[Wine-patches] [eterhack eter-2.0.0] version: Fix handling "\\VarFileInfo\\Translation" in VerQueryValueW (eterbug #8513).

Alexander Morozov amorozov на etersoft.ru
Ср Июн 13 22:09:05 MSK 2012


---
 dlls/version/version.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/version/version.c b/dlls/version/version.c
index 86a942e..26925d5 100644
--- a/dlls/version/version.c
+++ b/dlls/version/version.c
@@ -919,8 +919,8 @@ static BOOL VERSION_IsRootOrTranslationA( LPCSTR value )
  */
 static BOOL VERSION_IsRootOrTranslationW( LPCWSTR value )
 {
-    static const WCHAR varfileinfoW[] = { '\\','V','a','r','F','i','l','e','I','n','f','o','\\', 0 };
-    static const WCHAR translationW[] = { '\\','T','r','a','n','s','l','a','t','i','o','n', 0 };
+    static const WCHAR varfileinfoW[] = { 'V','a','r','F','i','l','e','I','n','f','o','\\', 0 };
+    static const WCHAR translationW[] = { 'T','r','a','n','s','l','a','t','i','o','n', 0 };
 
     BOOL check_translation = FALSE;
     UINT len;
-- 
1.7.9.7



Подробная информация о списке рассылки Wine-patches