From cb0d8b45cc1d53726069557986def832662052b4 Mon Sep 17 00:00:00 2001 From: Max Staudt Date: Thu, 14 Apr 2022 23:18:06 +0200 Subject: [PATCH] Cleanup --- jmdict.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jmdict.cpp b/jmdict.cpp index 2364ab5..b639756 100644 --- a/jmdict.cpp +++ b/jmdict.cpp @@ -161,7 +161,6 @@ void guessLanguage(const std::string& subject) { if (options::source == options::JAPANESE && !isUTF8) options::source = options::JAPANESE_ROMAJI; else if (options::source == options::UNKNOWN) - // options::source = isUTF8 ? options::JAPANESE : options::NOT_JAPANESE; options::source = isUTF8 ? options::JAPANESE : options::UNKNOWN; } @@ -183,7 +182,7 @@ try { fromRomaji(subject); else if (options::source == options::NOT_JAPANESE) toJapanese(subject); - else { + else { /* options::UNKNOWN */ fromRomaji(subject); toJapanese(subject); } -- 2.30.2