Remove extern crate statements (#3310)
This commit is contained in:
parent
61a873d79a
commit
28a811bbba
36 changed files with 54 additions and 26 deletions
|
|
@ -86,7 +86,7 @@ extern "C" fn preedit_draw_callback(
|
|||
let chg_range =
|
||||
call_data.chg_first as usize..(call_data.chg_first + call_data.chg_length) as usize;
|
||||
if chg_range.start > client_data.text.len() || chg_range.end > client_data.text.len() {
|
||||
warn!(
|
||||
log::warn!(
|
||||
"invalid chg range: buffer length={}, but chg_first={} chg_lengthg={}",
|
||||
client_data.text.len(),
|
||||
call_data.chg_first,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue