Skip to content

Commit

Permalink
fix sed fail
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Nov 12, 2024
1 parent 2decaa4 commit 088cb12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion divvunspell/src/speller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ pub(crate) mod ffi {

let config: &FfiSpellerConfig = &*ptr.cast();

let reweight = if config.case_handling == FfiReweightingConfig::default() {
let reweight = if config.reweight == FfiReweightingConfig::default() {
None
} else {
let c = config.reweight;
Expand Down Expand Up @@ -423,6 +423,7 @@ pub(crate) mod ffi {
},
reweight,
node_pool_size: config.node_pool_size,
recase: true,
};

Ok(out)
Expand Down

0 comments on commit 088cb12

Please sign in to comment.