version: Use the official NT macro rather than obsolete one.

This commit is contained in:
Bang Jun-young 2007-10-15 17:56:57 +09:00 committed by Alexandre Julliard
parent aaa1908888
commit a290263860
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ static BOOL find_pe_resource( HFILE lzfd, LPCSTR typeid, LPCSTR resid,
pehdoffset = LZSeek( lzfd, 0, SEEK_CUR );
if ( sizeof(pehd) != LZRead( lzfd, (LPSTR)&pehd, sizeof(pehd) ) ) return 0;
resDataDir = pehd.OptionalHeader.DataDirectory+IMAGE_FILE_RESOURCE_DIRECTORY;
resDataDir = pehd.OptionalHeader.DataDirectory+IMAGE_DIRECTORY_ENTRY_RESOURCE;
if ( !resDataDir->Size )
{
TRACE("No resources in PE dll\n" );