summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-25 16:28:21 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-25 16:29:08 +0100
commitd4244efeb171632f309c8cfcbea4fbe2a3de3193 (patch)
treee6cdec349d373a5eb2b53211b9865d44313126cd /lingucomponent
parentdbba84906d394187b105b9b899ec10065d2d1fc8 (diff)
libexttextcat: fix spelling of _TEXTCAT_RESULT_UNKOWN
and remove the _ prefix too while at it Change-Id: I30ee8cd5aead53abac19fdc372e1fe45b3cbf55f
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/languageguessing/guess.cxx4
1 files changed, 2 insertions, 2 deletions
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;