From a3ceaf9db0a96d86a521f8a33decca4c800ef7fb Mon Sep 17 00:00:00 2001 From: hashirama Date: Sun, 19 May 2024 02:01:28 -0400 Subject: [PATCH] trim white spaces 2/2 --- src/hakurei.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;