Skip to content

Commit

Permalink
Cleaning up a typo and a missed commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnson committed Feb 27, 2024
1 parent 58d81bb commit f1a5ff5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/burn/engine/section.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ HRESULT VerifySectionMatchesMemoryPEHeader(
if (sizeof(BURN_SECTION_HEADER) > pSectionHeader->SizeOfRawData)
{
hr = HRESULT_FROM_WIN32(ERROR_INVALID_DATA);
ExitOnRootFailure(hr, "Failed to read section info, data to short: %u", pSectionHeader->SizeOfRawData);
ExitOnRootFailure(hr, "Failed to read section info, data too short: %u", pSectionHeader->SizeOfRawData);
}

// Get Burn section info.
Expand Down
5 changes: 5 additions & 0 deletions src/ext/Firewall/wixext/FirewallDecompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,11 @@ internal static class StringExtensions
{
public static string ToCamelCase(this string str)
{
if (String.IsNullOrEmpty(str))
{
return str;
}

var camelCase = str[0].ToString().ToLowerInvariant() + str.Substring(1);

return camelCase;
Expand Down

0 comments on commit f1a5ff5

Please sign in to comment.