diff options
author | vincent <vincentgsoc2013@gmail.com> | 2013-03-22 22:11:49 +0800 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-03-25 14:12:42 +0000 |
commit | 002a0d91e4b0d8214656741192ec3260a8764a73 (patch) | |
tree | 76c63ea121df7875577b17e9c72878fbd75f608a /lingucomponent | |
parent | bdb87236dcbc1187b15e1a457e130ff997b0949b (diff) |
Fix spelling errors and typos: 'unkown' change to 'unknown'
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94
Reviewed-on: https://gerrit.libreoffice.org/3030
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/guess.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx index fa07ba9c73fa..f107e728885f 100644 --- a/lingucomponent/source/languageguessing/guess.cxx +++ b/lingucomponent/source/languageguessing/guess.cxx @@ -53,11 +53,11 @@ Guess::Guess(const char * guess_str) string enc; //if the guess is not like "UNKNOWN" or "SHORT", go into the brackets -// if(strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKOWN, strlen(_TEXTCAT_RESULT_UNKOWN)) != 0 +// if(strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN, strlen(_TEXTCAT_RESULT_UNKNOWN)) != 0 // && // strncmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT, strlen(_TEXTCAT_RESULT_SHORT)) != 0) // { - if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKOWN) != 0 + if(strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_UNKNOWN) != 0 && strcmp((const char*)(guess_str + 1), _TEXTCAT_RESULT_SHORT) != 0) { |