mirror of
https://github.com/greenshot/greenshot
synced 2025-07-30 11:40:40 -07:00
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
This commit is contained in:
parent
5e37adbd0c
commit
d7501c6026
1 changed files with 1 additions and 0 deletions
|
@ -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<string, string> properties = iniProperties[sectionName];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue