summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing/simpleguesser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/languageguessing/simpleguesser.cxx')
-rw-r--r--lingucomponent/source/languageguessing/simpleguesser.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
index b6d52cdba4be..ac171b14c908 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.cxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
@@ -128,7 +128,7 @@ vector<Guess> SimpleGuesser::GuessLanguage(const char* text)
const char *guess_list = textcat_Classify(h, text, len);
- if (strcmp(guess_list, _TEXTCAT_RESULT_SHORT) == 0)
+ if (strcmp(guess_list, TEXTCAT_RESULT_SHORT_STR) == 0)
return guesses;
int current_pointer = 0;