From feb501f197c0587dc2971b35526b71782c065f1b Mon Sep 17 00:00:00 2001 From: Shane Carr Date: Fri, 23 Sep 2016 01:14:42 +0000 Subject: [PATCH] ICU-12549 Changing u_strCompare to u_strcmp in spoof documentation. X-SVN-Rev: 39341 --- icu4c/source/i18n/unicode/uspoof.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/i18n/unicode/uspoof.h b/icu4c/source/i18n/unicode/uspoof.h index 2d6f856bfc5..bb42f585765 100644 --- a/icu4c/source/i18n/unicode/uspoof.h +++ b/icu4c/source/i18n/unicode/uspoof.h @@ -120,7 +120,7 @@ * uspoof_getSkeleton(sc, 0, str2, -1, skel2, skel2Len, &status); * * // Are the skeletons the same? - * UBool result = u_strCompare(skel1, -1, skel2, -1, FALSE) == 0; + * UBool result = u_strcmp(skel1, skel2) == 0; * // areConfusable: 1 (status: U_ZERO_ERROR) * printf("areConfusable: %d (status: %s)\n", result, u_errorName(status)); * uspoof_close(sc); @@ -158,7 +158,7 @@ * uspoof_getSkeleton(sc, 0, str, -1, skel, len, &status); * UBool result = FALSE; * for (size_t i=0; i