From e0a2e4978c2bd033f97aa8fd18bf289f0e4ff1fb Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Fri, 14 Oct 2022 19:30:55 +0200
Subject: [PATCH] fix use wrong struct

---
 copyable.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/copyable.go b/copyable.go
index 4386ecf..69da60f 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)
 }
-- 
GitLab