From 19450a9a272088e666c25ad841ad54e3be474645 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 19 Dec 2025 12:10:20 +0200 Subject: [PATCH] [LPK] Remove obsolete hack --- dll/win32/lpk/lpk.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dll/win32/lpk/lpk.c b/dll/win32/lpk/lpk.c index bebf7ace188..9e1aa10f20a 100644 --- a/dll/win32/lpk/lpk.c +++ b/dll/win32/lpk/lpk.c @@ -164,10 +164,6 @@ static void LPK_ApplyMirroring(void) PVOID pvFileInfo; DWORD cbFileInfoSize; - /* HACK!!!! For some reason this call, that does nothing, is required, - otherwise comctl32_winetest tooltips starts to fail. */ - GetFileVersionInfoSizeW(L"", NULL ); - /* Get the VersionInfo resource of the main executable */ if (!GetProcessImageVersionInfo(&pvFileInfo, &cbFileInfoSize)) { @@ -190,7 +186,7 @@ static void LPK_ApplyMirroring(void) /* Compare current position with the "FileDescription" key */ if (lstrcmpW(pwchCurrent, L"FileDescription") == 0) { - /* The value starts after the key, the Null-terminator and 1 WCHAR alignment */ + /* The value starts after the key, the null-terminator and 1 WCHAR alignment */ pwstrFileDescription = pwchCurrent + cchKeyLength + 1; break; }