diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-25 18:19:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-25 18:20:23 +0100 |
commit | e21114a9282096e2b7e5ebbc4dd74e2f85c7e36c (patch) | |
tree | 47de0c6dce0eedd5bd0b6739b5743ba7d8e07f82 /lingucomponent | |
parent | 99932fa89be0e041abf5ce5da3271600c841ff19 (diff) |
Missing _TEXTCAT_RESULT_SHORT -> TEXTCAT_RESULT_SHORT_STR
...cf. d4244efeb171632f309c8cfcbea4fbe2a3de3193 "libexttextcat: fix spelling of
TEXTCAT_RESULT_UNKOWN."
Change-Id: I65e8327296450324205e937fa762b656afebe2dd
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/simpleguesser.cxx | 2 |
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; |