Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Commit

Permalink
fixed a merge request
Browse files Browse the repository at this point in the history
  • Loading branch information
Jays2Kings committed Sep 22, 2016
1 parent 547bd7b commit 5b87490
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions DS4Windows/DS4Control/ScpUtil.cs
Expand Up @@ -1396,16 +1396,8 @@ public Boolean LoadProfile(int device, bool launchprogram, ControlService contro
{
Item = m_Xdoc.SelectSingleNode("/" + rootname + "/Sensitivity");
string[] s = Item.InnerText.Split('|');
<<<<<<< HEAD
if (s.Length == 1)
s = Item.InnerText.Split(',');
=======
if (s.Length != 6)
{
s = Item.InnerText.Split(',');
}

>>>>>>> origin/jay
double.TryParse(s[0], out LSSens[device]);
double.TryParse(s[1], out RSSens[device]);
double.TryParse(s[2], out l2Sens[device]);
Expand Down

0 comments on commit 5b87490

Please sign in to comment.