diff options
author | David Tardon <dtardon@redhat.com> | 2015-06-15 20:00:03 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-06-15 21:16:26 +0200 |
commit | cc96b2738b608782edffb4cc368d45255f31377b (patch) | |
tree | a3de706cf46a857bf7f368086230e3f38122552a /lingucomponent | |
parent | 5a2010ddb4d604c289ad2d6b74b54c10bc87bafc (diff) |
I guess we can revert this "temporary check" now
On the other side, it has been in the code for only 2 years, so who
knows .-)
Revert "libexttextcat: fix the --with-system case too..."
This reverts commit a81f44c707c4df56e7b999fa3b656d7fa4543d1b.
Change-Id: I4e02ebe971f8a838bf2a1630ed38d4408245bf37
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/simpleguesser.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx index cf5324416a86..a777cf3ef56b 100644 --- a/lingucomponent/source/languageguessing/simpleguesser.cxx +++ b/lingucomponent/source/languageguessing/simpleguesser.cxx @@ -119,12 +119,7 @@ vector<Guess> SimpleGuesser::GuessLanguage(const char* text) const char *guess_list = textcat_Classify(h, text, len); -// FIXME just a temporary check until new version with renamed macros deployed -#if EXTTEXTCAT_VERSION_MAJOR > 3 || (EXTTEXTCAT_VERSION_MAJOR == 3 && (EXTTEXTCAT_VERSION_MINOR > 4 || (EXTTEXTCAT_VERSION_MINOR == 4 && (EXTTEXTCAT_VERSION_MICRO >= 1)))) if (strcmp(guess_list, TEXTCAT_RESULT_SHORT_STR) == 0) -#else - if (strcmp(guess_list, _TEXTCAT_RESULT_SHORT) == 0) -#endif return guesses; int current_pointer = 0; |