summaryrefslogtreecommitdiff
path: root/src/modules/icolib/extracticon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/icolib/extracticon.cpp')
-rw-r--r--src/modules/icolib/extracticon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/icolib/extracticon.cpp b/src/modules/icolib/extracticon.cpp
index f1ce824575..fae0a073fd 100644
--- a/src/modules/icolib/extracticon.cpp
+++ b/src/modules/icolib/extracticon.cpp
@@ -103,7 +103,7 @@ IMAGE_RESOURCE_DIRECTORY_ENTRY* _FindResourceBase(void* prt, int resType, int* p
count = pDir->NumberOfIdEntries + pDir->NumberOfNamedEntries;
pRes = (IMAGE_RESOURCE_DIRECTORY_ENTRY*)(pDir+1);
- for(i = 0; i < count; i++)
+ for (i = 0; i < count; i++)
if (pRes[i].Name == (DWORD)resType) break;
if (i == count) return NULL;
@@ -134,7 +134,7 @@ void* _FindResource(IMAGE_DOS_HEADER* pDosHeader, void* prt, int resIndex, int r
pRes = _FindResourceBase(prt, resType, &count);
if (resIndex < 0) {
- for(index = 0; index < count; index++)
+ for (index = 0; index < count; index++)
if (pRes[index].Name == (DWORD)(-resIndex))
break;
}