mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-26 08:10:32 +00:00
Fix trailing whitespace in resource strings
This commit is contained in:
@@ -500,7 +500,7 @@ namespace BurnOutSharp.Tools
|
||||
|
||||
var value = resourceStrings.FirstOrDefault(s => s.Key == key);
|
||||
if (!string.IsNullOrWhiteSpace(value?.Value))
|
||||
return value.Value.Trim();
|
||||
return value.Value.Trim(' ', '\0');
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user