Show 1 based controller indexes in log

This commit is contained in:
Travis Nickles 2017-04-25 03:36:50 -07:00
parent ea3b1401f0
commit 2b5ae4fd51

View File

@ -145,13 +145,13 @@ namespace DS4Windows
{ {
if (System.IO.File.Exists(appdatapath + "\\Profiles\\" + ProfilePath[i] + ".xml")) if (System.IO.File.Exists(appdatapath + "\\Profiles\\" + ProfilePath[i] + ".xml"))
{ {
string prolog = Properties.Resources.UsingProfile.Replace("*number*", i.ToString()).Replace("*Profile name*", ProfilePath[i]); string prolog = Properties.Resources.UsingProfile.Replace("*number*", (i+1).ToString()).Replace("*Profile name*", ProfilePath[i]);
LogDebug(prolog); LogDebug(prolog);
Log.LogToTray(prolog); Log.LogToTray(prolog);
} }
else else
{ {
string prolog = Properties.Resources.NotUsingProfile.Replace("*number*", (i).ToString()); string prolog = Properties.Resources.NotUsingProfile.Replace("*number*", (i+1).ToString());
LogDebug(prolog); LogDebug(prolog);
Log.LogToTray(prolog); Log.LogToTray(prolog);
} }