Skip to content

Commit

Permalink
remove unnecessary spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mouzedrift committed Jul 20, 2020
1 parent 373ffa9 commit 3ac7f09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AliveHookManager/LinkerMapParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void Parse(string linkMapText)
int firstAtIndex = funcName.IndexOf('@');
funcName = funcName.Substring(0, (firstAtIndex != -1) ? firstAtIndex : funcName.Length);

string[] nameSplit = funcName.Split(new char[] { '_' }, StringSplitOptions.RemoveEmptyEntries);
string[] nameSplit = funcName.Split(new char[] { '_' }, StringSplitOptions.RemoveEmptyEntries);
int address = 0;
if (int.TryParse(nameSplit.Last(), System.Globalization.NumberStyles.HexNumber, null, out address) && address > 0x400000)
{
Expand All @@ -55,7 +55,7 @@ public void Parse(string linkMapText)

var lowerFunc = funcName.ToLower();
var sym = funcObjectSplit.First().ToLower();
if (!lowerFunc.StartsWith("_") && !lowerFunc.StartsWith("?"))
if (!lowerFunc.StartsWith("_") && !lowerFunc.StartsWith("?"))
{
Functions.Add(new LinkerMapFunction() { Name = funcName, Object = functionObject, Address = address });
}
Expand Down

0 comments on commit 3ac7f09

Please sign in to comment.