temporary fix (well, it works!)
This commit is contained in:
parent
79586f3d04
commit
bca6e95b7c
|
@ -1,3 +1,5 @@
|
||||||
|
// filename: hakurei.cpp
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
@ -241,12 +243,14 @@ int main(const int argc, char* argv[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string search_string = get_input(argc, argv, goldendict_mode);
|
log_internal("Trying to get the search string...");
|
||||||
log_internal("Search string: " + search_string);
|
|
||||||
if (goldendict_mode && !sentence.empty()) {
|
std::string search_string = sentence;
|
||||||
search_string = sentence;
|
//log_internal("Search string: " + search_string);
|
||||||
log_internal("Search string overridden by sentence: " + search_string);
|
//if (goldendict_mode && !sentence.empty()) {
|
||||||
}
|
//search_string = sentence;
|
||||||
|
// log_internal("Search string overridden by sentence: " + search_string);
|
||||||
|
// }
|
||||||
|
|
||||||
// Log the execution details
|
// Log the execution details
|
||||||
log_execution(argc, argv, search_string, dict_file, debug_mode, goldendict_mode);
|
log_execution(argc, argv, search_string, dict_file, debug_mode, goldendict_mode);
|
||||||
|
|
Loading…
Reference in a new issue