mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 21:43:24 -07:00
Fix for .ini, where no newline was written when the value was null.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1990 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
272cf7c5ca
commit
61f92926de
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ namespace Greenshot.IniFile {
|
|||
writer.WriteLine("; {0}", attributes.Description);
|
||||
}
|
||||
if (myValue == null) {
|
||||
writer.Write("{0}=", attributes.Name);
|
||||
writer.WriteLine("{0}=", attributes.Name);
|
||||
return;
|
||||
}
|
||||
if (valueType.IsGenericType && valueType.GetGenericTypeDefinition() == typeof(List<>)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue