diff --git a/copyable.go b/copyable.go index 4386ecf0785d918dd8c411b50b99093b354e12e9..69da60fc3c4b9b2d41b6376c4a2ebb3b94829cb1 100644 --- a/copyable.go +++ b/copyable.go @@ -10,5 +10,5 @@ package configuration // // Copy implements the xflags.Copyable interface. func (s *Settings[C]) Copy(c *Settings[C]) { - s.setConfigInternal(s.config, true) + s.setConfigInternal(c.config, true) }