mirror of
https://github.com/RGBCube/color.v
synced 2025-07-30 17:37: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
|
||||
}
|
||||
|
||||
fn (p BrushImpl) render(str string) string {
|
||||
fn (p &BrushImpl) render(str string) string {
|
||||
return if no_color || p.disabled {
|
||||
str
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue