diff --git a/src/hakurei.cpp b/src/hakurei.cpp index 488f8d9..7b8572a 100644 --- a/src/hakurei.cpp +++ b/src/hakurei.cpp @@ -265,7 +265,7 @@ int main(const int argc, char* argv[]) { log_internal("Trying to get the search string..."); - std::string search_string = sentence; + std::string search_string = trim(sentence); //log_internal("Search string: " + search_string); //if (goldendict_mode && !sentence.empty()) { //search_string = sentence;