mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-3050 clean up
X-SVN-Rev: 12951
This commit is contained in:
parent
817056ce93
commit
9b26c349ff
2 changed files with 3 additions and 4 deletions
|
@ -16,7 +16,8 @@
|
|||
#if !UCONFIG_NO_IDNA
|
||||
|
||||
#include "nfsprep.h"
|
||||
#include "cstring.h"
|
||||
#include "ustr_imp.h"
|
||||
#include "cintltst.h"
|
||||
|
||||
#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
|
||||
#define NFS4_MAX_BUFFER_SIZE 1000
|
||||
|
@ -262,7 +263,7 @@ nfs4_mixed_prepare( const char* src, int32_t srcLength,
|
|||
return 0;
|
||||
}
|
||||
if(srcLength == -1){
|
||||
srcLength = uprv_strlen(src);
|
||||
srcLength = strlen(src);
|
||||
}
|
||||
getPrefixSuffix(src, srcLength, &prefix, &prefixLen, &suffix, &suffixLen, status);
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
|
||||
#include "unicode/utypes.h"
|
||||
#include "unicode/ustring.h"
|
||||
#include "ustr_imp.h"
|
||||
#include "cintltst.h"
|
||||
#include "unicode/usprep.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue