Skip to content

Commit

Permalink
Small change in code formatting.
Browse files Browse the repository at this point in the history
Renamed vi to resInfo, and adjusted spacing.
  • Loading branch information
cyraid authored Oct 11, 2022
1 parent 717827b commit b0ea5f4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ResourceProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,19 @@ private bool HasSWF(string exeFileName) {

// Iterate through Resources and find SWF_BLOB //

using (var vi = new ResourceInfo()) {
using (var resInfo = new ResourceInfo()) {

vi.Load(exeFileName);
resInfo.Load(exeFileName);

foreach (ResourceId id in vi.ResourceTypes) {
foreach (Resource resource in vi.Resources[id]) {
foreach (ResourceId id in resInfo.ResourceTypes) {
foreach (Resource resource in resInfo.Resources[id]) {

if (resource.Name.Id.ToInt64() == SWF_BLOB)
return true;

} // ForEach //
} // ForEach //

} // Using //

return false;
Expand Down

0 comments on commit b0ea5f4

Please sign in to comment.