From aa904f0304343b2ff87026e14ce51a4d569ef5af Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Fri, 1 Dec 2023 18:07:57 +0100 Subject: [PATCH] Correct a formattting FLOG --- fish-rust/src/wcstringutil.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish-rust/src/wcstringutil.rs b/fish-rust/src/wcstringutil.rs index 3a5535eb0..498dac418 100644 --- a/fish-rust/src/wcstringutil.rs +++ b/fish-rust/src/wcstringutil.rs @@ -4,7 +4,7 @@ use crate::common::{get_ellipsis_char, get_ellipsis_str}; use crate::compat::MB_CUR_MAX; use crate::expand::INTERNAL_SEPARATOR; use crate::fallback::{fish_wcwidth, wcscasecmp}; -use crate::flog::FLOG; +use crate::flog::FLOGF; use crate::wchar::{decode_byte_from_char, prelude::*}; use crate::wutil::encoding::{wcrtomb, zero_mbstate, AT_LEAST_MB_LEN_MAX}; @@ -299,7 +299,7 @@ pub fn wcs2string_callback(input: &wstr, mut func: impl FnMut(&[u8]) -> bool) -> } fn wcs2string_bad_char(c: char) { - FLOG!( + FLOGF!( char_encoding, L!("Wide character U+%4X has no narrow representation"), c