Skip to content

Commit 19450a9

Browse files
committed
[LPK] Remove obsolete hack
1 parent f2a0018 commit 19450a9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

dll/win32/lpk/lpk.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,6 @@ static void LPK_ApplyMirroring(void)
164164
PVOID pvFileInfo;
165165
DWORD cbFileInfoSize;
166166

167-
/* HACK!!!! For some reason this call, that does nothing, is required,
168-
otherwise comctl32_winetest tooltips starts to fail. */
169-
GetFileVersionInfoSizeW(L"", NULL );
170-
171167
/* Get the VersionInfo resource of the main executable */
172168
if (!GetProcessImageVersionInfo(&pvFileInfo, &cbFileInfoSize))
173169
{
@@ -190,7 +186,7 @@ static void LPK_ApplyMirroring(void)
190186
/* Compare current position with the "FileDescription" key */
191187
if (lstrcmpW(pwchCurrent, L"FileDescription") == 0)
192188
{
193-
/* The value starts after the key, the Null-terminator and 1 WCHAR alignment */
189+
/* The value starts after the key, the null-terminator and 1 WCHAR alignment */
194190
pwstrFileDescription = pwchCurrent + cchKeyLength + 1;
195191
break;
196192
}

0 commit comments

Comments
 (0)