From c9df6ff059635453d70616c14fbf35f987245067 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 25 Aug 2025 20:53:25 -0400 Subject: [PATCH] Rename to be consistent --- SabreTools.Serialization/Wrappers/PortableExecutable.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SabreTools.Serialization/Wrappers/PortableExecutable.cs b/SabreTools.Serialization/Wrappers/PortableExecutable.cs index 400b995c..3c948f45 100644 --- a/SabreTools.Serialization/Wrappers/PortableExecutable.cs +++ b/SabreTools.Serialization/Wrappers/PortableExecutable.cs @@ -1115,8 +1115,8 @@ namespace SabreTools.Serialization.Wrappers return false; // Get the first resource of type 99 with index 2 - var payload = resources[0]; - if (payload == null || payload.Length == 0) + var resource = resources[0]; + if (resource == null || resource.Length == 0) return false; // Create the output data buffer @@ -1124,9 +1124,9 @@ namespace SabreTools.Serialization.Wrappers // If we had the decompression DLL included, it's zlib if (FindResourceByNamedType("99, 1").Count > 0) - data = ExtractCExeZlib(payload); + data = ExtractCExeZlib(resource); else - data = ExtractCExeLZ(payload); + data = ExtractCExeLZ(resource); // If we have no data if (data == null)