mirror of
https://github.com/RGBCube/color.v
synced 2025-08-01 10:27:45 +00:00
Use ptr
This commit is contained in:
parent
64696a406f
commit
8f6d2a7784
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ mut:
|
||||||
disabled bool
|
disabled bool
|
||||||
}
|
}
|
||||||
|
|
||||||
fn (p BrushImpl) render(str string) string {
|
fn (p &BrushImpl) render(str string) string {
|
||||||
return if no_color || p.disabled {
|
return if no_color || p.disabled {
|
||||||
str
|
str
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue