this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

CoreServices: Fix entry processing in Carbon Component Manager

+7 -5
+7 -5
src/frameworks/CoreServices/ComponentManager.cpp
··· 289 289 290 290 for (int p = 0; p < thng.PlatformInfoCount; p++) 291 291 { 292 - SWAP(thng.PlatformInfos[p].PlatformType); 292 + PlatformInfo pi = ((CarbonThng*) *handle)->PlatformInfos[p]; 293 293 294 - if (thng.PlatformInfos[p].PlatformType == CURRENT_PLATFORM) 294 + SWAP(pi.PlatformType); 295 + 296 + if (pi.PlatformType == CURRENT_PLATFORM) 295 297 { 296 - SWAP(thng.PlatformInfos[p].CodeType); 297 - SWAP(thng.PlatformInfos[p].CodeId); 298 - entryPoint = loadResString(thng.PlatformInfos[p].CodeType, thng.PlatformInfos[p].CodeId); 298 + SWAP(pi.CodeType); 299 + SWAP(pi.CodeId); 300 + entryPoint = loadResString(pi.CodeType, pi.CodeId); 299 301 } 300 302 } 301 303