@joebigelow / wix-1 / commits / d1b711af

Cleaning up a typo and a missed commit.

Bob Arnson committed Feb 27, 2024 at 16:37 UTC d1b711af0d33713f29f583f9c9a17b54d9a90df3
2 files changed +6 -1
src/burn/engine/section.cpp
+1 -1
@@ -369,7 +369,7 @@ HRESULT VerifySectionMatchesMemoryPEHeader(
369 if (sizeof(BURN_SECTION_HEADER) > pSectionHeader->SizeOfRawData)
370 {
371 hr = HRESULT_FROM_WIN32(ERROR_INVALID_DATA);
372 - ExitOnRootFailure(hr, "Failed to read section info, data to short: %u", pSectionHeader->SizeOfRawData);
372 + ExitOnRootFailure(hr, "Failed to read section info, data too short: %u", pSectionHeader->SizeOfRawData);
373 }
374
375 // Get Burn section info.
src/ext/Firewall/wixext/FirewallDecompiler.cs
+5
@@ -506,6 +506,11 @@ namespace WixToolset.Firewall
506 {
507 public static string ToCamelCase(this string str)
508 {
509 + if (String.IsNullOrEmpty(str))
510 + {
511 + return str;
512 + }
513 +
514 var camelCase = str[0].ToString().ToLowerInvariant() + str.Substring(1);
515
516 return camelCase;