mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
fix for all optional features
This commit is contained in:
@@ -268,11 +268,7 @@ fn decodeKanjiSegment(
|
|||||||
let encoder = if let Some(DecodeHintValue::QrAssumeSpecConformInput(true)) =
|
let encoder = if let Some(DecodeHintValue::QrAssumeSpecConformInput(true)) =
|
||||||
hints.get(&DecodeHintType::QR_ASSUME_SPEC_CONFORM_INPUT)
|
hints.get(&DecodeHintType::QR_ASSUME_SPEC_CONFORM_INPUT)
|
||||||
{
|
{
|
||||||
if let Some(ccse) = ¤tCharacterSetECI {
|
currentCharacterSetECI.unwrap_or(CharacterSet::ISO8859_1)
|
||||||
CharacterSet::getCharacterSetECIByName(ccse)
|
|
||||||
} else {
|
|
||||||
CharacterSet::ISO8859_1
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
CharacterSet::Shift_JIS
|
CharacterSet::Shift_JIS
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user