commit | e790d18a5622970eed9448823164da625077784d | [log] [tgz] |
---|---|---|
author | Pierre Curto <pierre.curto@gmail.com> | Mon Jun 27 09:07:00 2016 +0200 |
committer | Pierre CURTO <pcurto@somone.fr> | Mon Jun 27 09:07:00 2016 +0200 |
tree | d74fcaec135625b28730c7c198d3f015712c0702 | |
parent | e60bfc84487994ada737835ee208ccb3dca2df0b [diff] |
fixed readability issues
diff --git a/option.go b/option.go index f39bfae..57700d6 100644 --- a/option.go +++ b/option.go
@@ -79,9 +79,10 @@ // Determines if the option will be always quoted in the INI output iniQuote bool - tag multiTag - isSet, isSetDefault bool - preventDefault bool + tag multiTag + isSet bool + isSetDefault bool + preventDefault bool defaultLiteral string } @@ -271,6 +272,7 @@ } option.isSetDefault = true + if len(usedDefault) > 0 { option.empty()