diff options
author | Bob Arnson <bob@firegiant.com> | 2024-02-27 16:37:17 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2024-02-27 17:33:39 -0500 |
commit | d1b711af0d33713f29f583f9c9a17b54d9a90df3 (patch) | |
tree | 194a7cd40a8fec0b0c0f43e09a29655e6939be59 /src/ext/Firewall/wixext/FirewallDecompiler.cs | |
parent | 58d81bb1b6f7d7c6104914b3070dac95f16877c4 (diff) | |
download | wix-d1b711af0d33713f29f583f9c9a17b54d9a90df3.tar.gz wix-d1b711af0d33713f29f583f9c9a17b54d9a90df3.tar.bz2 wix-d1b711af0d33713f29f583f9c9a17b54d9a90df3.zip |
Cleaning up a typo and a missed commit.
Diffstat (limited to '')
-rw-r--r-- | src/ext/Firewall/wixext/FirewallDecompiler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ext/Firewall/wixext/FirewallDecompiler.cs b/src/ext/Firewall/wixext/FirewallDecompiler.cs index 46ab2bd1..4fafc0a0 100644 --- a/src/ext/Firewall/wixext/FirewallDecompiler.cs +++ b/src/ext/Firewall/wixext/FirewallDecompiler.cs | |||
@@ -506,6 +506,11 @@ namespace WixToolset.Firewall | |||
506 | { | 506 | { |
507 | public static string ToCamelCase(this string str) | 507 | public static string ToCamelCase(this string str) |
508 | { | 508 | { |
509 | if (String.IsNullOrEmpty(str)) | ||
510 | { | ||
511 | return str; | ||
512 | } | ||
513 | |||
509 | var camelCase = str[0].ToString().ToLowerInvariant() + str.Substring(1); | 514 | var camelCase = str[0].ToString().ToLowerInvariant() + str.Substring(1); |
510 | 515 | ||
511 | return camelCase; | 516 | return camelCase; |