From 2b5ae4fd51773eded63a95c069d2f3ed434bf93a Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 25 Apr 2017 03:36:50 -0700 Subject: [PATCH] Show 1 based controller indexes in log --- DS4Windows/DS4Control/ControlSerivce.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DS4Windows/DS4Control/ControlSerivce.cs b/DS4Windows/DS4Control/ControlSerivce.cs index 8a269eb..9066b59 100644 --- a/DS4Windows/DS4Control/ControlSerivce.cs +++ b/DS4Windows/DS4Control/ControlSerivce.cs @@ -145,13 +145,13 @@ namespace DS4Windows { 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); Log.LogToTray(prolog); } else { - string prolog = Properties.Resources.NotUsingProfile.Replace("*number*", (i).ToString()); + string prolog = Properties.Resources.NotUsingProfile.Replace("*number*", (i+1).ToString()); LogDebug(prolog); Log.LogToTray(prolog); }