From bda93400456f1cf1eba45588757400e485a6cedc Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 28 Feb 2025 16:36:51 +0800 Subject: [PATCH] cleanup pass-by ref change it blitstr api --- services/bao-video/src/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/bao-video/src/panic.rs b/services/bao-video/src/panic.rs index 1f94a884f..2293eb8db 100644 --- a/services/bao-video/src/panic.rs +++ b/services/bao-video/src/panic.rs @@ -87,7 +87,7 @@ pub(crate) fn panic_handler_thread( blitstr2::xor_glyph( unsafe { d.raw_mut() }, (x, y), - blitstr2::mono_glyph(ch).unwrap_or(NULL_GLYPH_SPRITE), + &blitstr2::mono_glyph(ch).unwrap_or(NULL_GLYPH_SPRITE), true, cr, );