]> granicus.if.org Git - icu/commitdiff
ICU-13581 Fix typos in Samples, and add .vs folder to SVN ignore list.
authorJeff Genovy <29107334+jefgen@users.noreply.github.com>
Tue, 27 Feb 2018 00:04:14 +0000 (00:04 +0000)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Tue, 27 Feb 2018 00:04:14 +0000 (00:04 +0000)
X-SVN-Rev: 40989

.gitignore
icu4c/source/samples/case/ucase.c
icu4c/source/samples/coll/coll.cpp
icu4c/source/samples/ugrep/ugrep.cpp

index 21eae6c00c36a531f96b2e4c4e3deccaa5cf991e..7b805b711c87d8cb97d1e01482ab45e80719209c 100644 (file)
@@ -87,6 +87,7 @@ icu4c/source/extra/scrptrun/srtest.d
 icu4c/source/extra/uconv/*.d
 icu4c/source/extra/uconv/*.o
 icu4c/source/extra/uconv/*.vcxproj.user
+icu4c/source/extra/uconv/.vs
 icu4c/source/extra/uconv/Debug
 icu4c/source/extra/uconv/Makefile
 icu4c/source/extra/uconv/Release
@@ -139,6 +140,7 @@ icu4c/source/layoutex/*.d
 icu4c/source/layoutex/*.o
 icu4c/source/layoutex/*.pdb
 icu4c/source/layoutex/*.vcxproj.user
+icu4c/source/layoutex/.vs
 icu4c/source/layoutex/Debug
 icu4c/source/layoutex/Makefile
 icu4c/source/layoutex/Release
@@ -907,6 +909,7 @@ icu4c/source/tools/toolutil/x64
 icu4c/source/tools/toolutil/x86
 icu4c/source/tools/tzcode/*.ao
 icu4c/source/tools/tzcode/*.o
+icu4c/source/tools/tzcode/.vs
 icu4c/source/tools/tzcode/Makefile
 icu4c/source/uconfig.h.prepend
 icu4j/*.jar
index eafa934a44650f024e754a287b70bb1ef2b9358d..2dd272aea2592ed0d66a190ef0e15532027f495c 100644 (file)
@@ -63,7 +63,7 @@ int c_main(UFILE *out)
   u_fprintf(out, "u_strToLower(%S, turkish) -> %S\n", upper, buffer);
 
 
-  /* ustring.h APIs, UChar * string case mapping with a Engish locale */
+  /* ustring.h APIs, UChar * string case mapping with a English locale */
   /* result buffer = "ABI" latin CAPITAL letter A, latin capital letter B,
      latin capital letter I */
   length = u_strToUpper(buffer, sizeof(buffer)/sizeof(buffer[0]), upper, 
index e29755de8bc3d5a071a30cde68bc95eb2950e985..afa57d0cbc1ab65e300525754928e8919eb73977 100644 (file)
@@ -25,7 +25,7 @@ const char gHelpString[] =
     "-lower           Lower case first\n"
     "-upper           Upper case first\n"
     "-case            Enable separate case level\n"
-    "-level n         Sort level, 1 to 5, for Primary, Secndary, Tertiary, Quaternary, Identical\n"
+    "-level n         Sort level, 1 to 5, for Primary, Secondary, Tertiary, Quaternary, Identical\n"
        "-source string   Source string for comparison\n"
        "-target string   Target string for comparison\n"
     "Example coll -rules \\u0026b\\u003ca -source a -target b\n"
index 537741a7be2217934ba3f4fb4aeff2bb06d9b1a8..9c2f0bdd21c4a95621a8b4df9c1c22ead8fc8e44 100644 (file)
@@ -16,7 +16,7 @@
 //   ugrep  - an ICU sample program illustrating the use of ICU Regular Expressions.
 //
 //            The use of the ICU Regex API all occurs within the main()
-//            function.  The rest of the code deals with with opening files,
+//            function.  The rest of the code deals with opening files,
 //            encoding conversions, printing results, etc.
 //
 //            This is not a full-featured grep program.  The command line options
@@ -38,7 +38,7 @@
 using namespace icu;
 
 //
-//  The following variables contain paramters that may be set from the command line.
+//  The following variables contain parameters that may be set from the command line.
 //
 const char *pattern = NULL;     // The regular expression
 int        firstFileNum;        //  argv index of the first file name
@@ -96,7 +96,7 @@ int main(int argc, const char** argv) {
     UBool     matchFound = FALSE;
 
     //
-    //  Process the commmand line options.
+    //  Process the command line options.
     //
     processOptions(argc, argv);
 
@@ -171,7 +171,7 @@ int main(int argc, const char** argv) {
 //   doOptions          Run through the command line options, and set
 //                      the global variables accordingly.
 //
-//                      exit without returning if an error occured and
+//                      exit without returning if an error occurred and
 //                      ugrep should not proceed further.
 //
 //------------------------------------------------------------------------------------------
@@ -372,7 +372,7 @@ void readFile(const char *name) {
 //
 //   nextLine           Advance the line index variables, starting at the
 //                      specified position in the input file buffer, by
-//                      scanning forwrd until the next end-of-line.
+//                      scanning forward until the next end-of-line.
 //
 //                      Need to take into account all of the possible Unicode
 //                      line ending sequences.