From d4244efeb171632f309c8cfcbea4fbe2a3de3193 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 25 Mar 2013 16:28:21 +0100 Subject: libexttextcat: fix spelling of _TEXTCAT_RESULT_UNKOWN and remove the _ prefix too while at it Change-Id: I30ee8cd5aead53abac19fdc372e1fe45b3cbf55f --- lingucomponent/source/languageguessing/guess.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lingucomponent') diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx index f107e728885f..4c8ed8e843f3 100644 --- a/lingucomponent/source/languageguessing/guess.cxx +++ b/lingucomponent/source/languageguessing/guess.cxx @@ -57,9 +57,9 @@ Guess::Guess(const char * guess_str) // && // strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT, strlen(_TEXTCAT_RESULT_SHORT)) != 0) // { - if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN) != 0 + if(strcmp((const char*)(guess_str + 1), TEXTCAT_RESULT_UNKNOWN_STR) != 0 && - strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT) != 0) + strcmp((const char*)(guess_str + 1), TEXTCAT_RESULT_SHORT_STR) != 0) { int current_pointer = 0; -- cgit