Correct a formattting FLOG

This commit is contained in:
Fabian Boehm 2023-12-01 18:07:57 +01:00
parent 31ad182aa5
commit aa904f0304

View file

@ -4,7 +4,7 @@ use crate::common::{get_ellipsis_char, get_ellipsis_str};
use crate::compat::MB_CUR_MAX; use crate::compat::MB_CUR_MAX;
use crate::expand::INTERNAL_SEPARATOR; use crate::expand::INTERNAL_SEPARATOR;
use crate::fallback::{fish_wcwidth, wcscasecmp}; use crate::fallback::{fish_wcwidth, wcscasecmp};
use crate::flog::FLOG; use crate::flog::FLOGF;
use crate::wchar::{decode_byte_from_char, prelude::*}; use crate::wchar::{decode_byte_from_char, prelude::*};
use crate::wutil::encoding::{wcrtomb, zero_mbstate, AT_LEAST_MB_LEN_MAX}; 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) { fn wcs2string_bad_char(c: char) {
FLOG!( FLOGF!(
char_encoding, char_encoding,
L!("Wide character U+%4X has no narrow representation"), L!("Wide character U+%4X has no narrow representation"),
c c