From 317bc6a9fde626d60c4b24eb3addc0bfb9103aa1 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 28 Feb 2025 16:33:14 +0800 Subject: [PATCH] related to previous commit --- libs/ux-api/src/wordwrap.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ux-api/src/wordwrap.rs b/libs/ux-api/src/wordwrap.rs index e1368bb07..5d7006a5d 100644 --- a/libs/ux-api/src/wordwrap.rs +++ b/libs/ux-api/src/wordwrap.rs @@ -164,14 +164,14 @@ impl ComposedType { blitstr2::xor_glyph_large( rawbuf, (maybe_x, maybe_y), - *glyph, + glyph, glyph.invert ^ invert, cr, ); } else if !glyph.double { - blitstr2::xor_glyph(rawbuf, (maybe_x, maybe_y), *glyph, glyph.invert ^ invert, cr); + blitstr2::xor_glyph(rawbuf, (maybe_x, maybe_y), glyph, glyph.invert ^ invert, cr); } else { - blitstr2::xor_glyph_2x(rawbuf, (maybe_x, maybe_y), *glyph, glyph.invert ^ invert, cr); + blitstr2::xor_glyph_2x(rawbuf, (maybe_x, maybe_y), glyph, glyph.invert ^ invert, cr); } if glyph.insert { // log::info!("insert at {},{}", glyph.ch, strpos - 1);