make vstyles.setAttr kstring overload public (#156)
This commit is contained in:
parent
f0dd16ebfe
commit
d8fe79fa40
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ proc eq*(a, b: VStyle): bool =
|
||||||
if a[i] != b[i]: return false
|
if a[i] != b[i]: return false
|
||||||
return true
|
return true
|
||||||
|
|
||||||
proc setAttr(s: VStyle; a, value: kstring) {.noSideEffect.} =
|
proc setAttr*(s: VStyle; a, value: kstring) {.noSideEffect.} =
|
||||||
var i = 0
|
var i = 0
|
||||||
while i < s.len:
|
while i < s.len:
|
||||||
if s[i] == a:
|
if s[i] == a:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue