trim white spaces 2/2
This commit is contained in:
parent
30c302d13d
commit
a3ceaf9db0
|
@ -265,7 +265,7 @@ int main(const int argc, char* argv[]) {
|
||||||
|
|
||||||
log_internal("Trying to get the search string...");
|
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);
|
//log_internal("Search string: " + search_string);
|
||||||
//if (goldendict_mode && !sentence.empty()) {
|
//if (goldendict_mode && !sentence.empty()) {
|
||||||
//search_string = sentence;
|
//search_string = sentence;
|
||||||
|
|
Loading…
Reference in a new issue