Fix build with new libexttextcat
Submitted by: Olivier Smedts <olivier@gid0.org> (via ports@)
This commit is contained in:
parent
af0bfe8699
commit
3c3995a0d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300937
1 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
--- lingucomponent/source/languageguessing/simpleguesser.cxx.orig 2012-05-22 14:48:18.000000000 +0200
|
||||
+++ lingucomponent/source/languageguessing/simpleguesser.cxx 2012-07-16 12:16:53.864632299 +0200
|
||||
@@ -118,7 +118,7 @@
|
||||
return guesses;
|
||||
|
||||
//calculate le number of unicode charcters (symbols)
|
||||
- int len = utfstrlen(text);
|
||||
+ int len = utf8_strlen(text);
|
||||
|
||||
if (len > MAX_STRING_LENGTH_TO_ANALYSE)
|
||||
len = MAX_STRING_LENGTH_TO_ANALYSE;
|
Loading…
Reference in a new issue