mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
Correct a formattting FLOG
This commit is contained in:
parent
31ad182aa5
commit
aa904f0304
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue