From d7501c60260d2d51375b531a19a9ea02049cfff1 Mon Sep 17 00:00:00 2001 From: RKrom Date: Wed, 18 Aug 2010 05:54:39 +0000 Subject: [PATCH] Added comment for unused sections in the ini file git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@814 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- GreenshotCore/Core/ConfigHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/GreenshotCore/Core/ConfigHelper.cs b/GreenshotCore/Core/ConfigHelper.cs index 541f8e112..1646e02ba 100644 --- a/GreenshotCore/Core/ConfigHelper.cs +++ b/GreenshotCore/Core/ConfigHelper.cs @@ -387,6 +387,7 @@ namespace Greenshot.Core { foreach(string sectionName in iniProperties.Keys) { // Check if the section is one that is "registered", if so skip it! if (!sectionMap.ContainsKey(sectionName)) { + writer.WriteLine("; The section {0} might be obsolete/unused, or a plugin hasn't claimed it due to errors.", sectionName); // Write section name writer.WriteLine("[{0}]", sectionName); Dictionary properties = iniProperties[sectionName];