Skip to content

Commit 5f2fee3

Browse files
authored
fix typo on registerFloatOpt method (#9)
1 parent 2372f1c commit 5f2fee3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config_opts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (c *ConfigOpts) registerFloatOpt(section *ini.Section, opt *FloatOpt) {
150150
return
151151
}
152152

153-
value := strconv.FormatFloat(opt.Default(), "f", -1, 64)
153+
value := strconv.FormatFloat(opt.Default(), 'f', -1, 64)
154154
_, _ = section.NewKey(opt.Name(), value)
155155
}
156156

0 commit comments

Comments
 (0)