From d8fe79fa4041325da07892978336eb8a27e5ac6b Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 1 Oct 2020 00:28:42 -0700 Subject: [PATCH] make vstyles.setAttr kstring overload public (#156) --- karax/vstyles.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karax/vstyles.nim b/karax/vstyles.nim index e2fca7d..13f9c3a 100644 --- a/karax/vstyles.nim +++ b/karax/vstyles.nim @@ -234,7 +234,7 @@ proc eq*(a, b: VStyle): bool = if a[i] != b[i]: return false return true -proc setAttr(s: VStyle; a, value: kstring) {.noSideEffect.} = +proc setAttr*(s: VStyle; a, value: kstring) {.noSideEffect.} = var i = 0 while i < s.len: if s[i] == a: