diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-06 08:31:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-06 08:31:38 +0000 |
commit | 1ce002432b3a5c0bb0a4c9f9eb8d399d649fe283 (patch) | |
tree | 77852d7852ceaf1f0029e91e94ae7580bb4cef5d /src/modules/icolib | |
parent | 387a4b247a6c4363576b1f969e7ea19856f6eddd (diff) |
- mir_core.dll moved to the core :)
- plugins now obtain the fake langpack id if langpack is absent
git-svn-id: http://svn.miranda-ng.org/main/trunk@787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/icolib')
-rw-r--r-- | src/modules/icolib/extracticon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/icolib/extracticon.cpp b/src/modules/icolib/extracticon.cpp index 6a53f767cc..e5906045a1 100644 --- a/src/modules/icolib/extracticon.cpp +++ b/src/modules/icolib/extracticon.cpp @@ -57,7 +57,7 @@ void* _RelativeVirtualAddresstoPtr(IMAGE_DOS_HEADER* pDosHeader, DWORD rva) IMAGE_SECTION_HEADER* cSection = &pSection[i];
DWORD size = cSection->Misc.VirtualSize ? cSection->Misc.VirtualSize : cSection->SizeOfRawData;
- if (rva >= cSection->VirtualAddress && rva < cSection->VirtualAddress + size)
+ if (rva >= cSection->VirtualAddress && rva < cSection->VirtualAddress + size)
return (LPBYTE)pDosHeader + cSection->PointerToRawData + (rva - cSection->VirtualAddress);
}
|