Skip to content

Commit

Permalink
Move spaces outside brackets #267
Browse files Browse the repository at this point in the history
  • Loading branch information
Gl0 committed Dec 25, 2016
1 parent d4c8b01 commit e35d8e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DamageMeter.Core/CopyPaste.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ public static Tuple<string,string> Copy(StatsSummary statsSummary, Skills skills
dpsmono.Append(footerstr);
var paste = dpsString.ToString();
var monoPaste = dpsmono.ToString();
while (paste.Contains(" )")) paste = paste.Replace(" )", ") ");
while (monoPaste.Contains(" )")) monoPaste = monoPaste.Replace(" )", ") ");
while (paste.Contains(" ]")) paste = paste.Replace(" ]", "] ");
while (monoPaste.Contains(" ]")) monoPaste = monoPaste.Replace(" ]", "] ");
while (paste.Contains(" \\")) paste = paste.Replace(" \\", "\\");
while (monoPaste.Contains(" \\")) monoPaste = monoPaste.Replace(" \\", "\\");
monoPaste = monoPaste.Replace("\\", Environment.NewLine);
Expand Down

0 comments on commit e35d8e8

Please sign in to comment.