From 460cab45886257c1c68e0bde79f0c9cf5646b59f Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 22 Feb 2006 01:24:37 +0000 Subject: [PATCH] Fix some typos in documentation. --- src/m17n-core.h | 2 +- src/mtext.c | 6 +++--- src/plist.c | 2 +- src/symbol.c | 2 +- src/textprop.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/m17n-core.h b/src/m17n-core.h index b49abfa..0ffccba 100644 --- a/src/m17n-core.h +++ b/src/m17n-core.h @@ -555,7 +555,7 @@ extern MPlist *mplist_deserialize (MText *mt); /***en @brief Flag bits to control text property. - The mtext_property () funciton accepts logical OR of these flag + The mtext_property () function accepts logical OR of these flag bits as an argument. They control the behaviour of the created text property as described in the documentation of each flag bit. */ diff --git a/src/mtext.c b/src/mtext.c index 975a4b4..0439829 100644 --- a/src/mtext.c +++ b/src/mtext.c @@ -2622,8 +2622,8 @@ mtext_ins_char (MText *mt, int pos, int c, int n) @brief Replace sub-text of M-text with another. The mtext_replace () function replaces sub-text of M-text $MT1 - between $FROM1 (inclusive) and $TO1 (exclusinve) with the sub-text - of M-text $MT2 between $FROM2 (inclusive) and $TO2 (exclusinve). + between $FROM1 (inclusive) and $TO1 (exclusive) with the sub-text + of M-text $MT2 between $FROM2 (inclusive) and $TO2 (exclusive). The new sub-text inherits text properties of the old sub-text. @return If the operation was successful, mtext_replace () returns @@ -3454,7 +3454,7 @@ mtext_lowercase (MText *mt) The mtext_titlecase () function destructively converts the first character with the cased property in M-text $MT to titlecase and the others to lowercase. The length of $MT may change. If the - character cannot be converted to titlercase, it is left unchanged. + character cannot be converted to titlecase, it is left unchanged. All the text properties are inherited. @return diff --git a/src/plist.c b/src/plist.c index 7da5878..24d06e2 100644 --- a/src/plist.c +++ b/src/plist.c @@ -1441,7 +1441,7 @@ mplist_value (MPlist *plist) } /***en - @brief Generate a property list by deserializaing an M-text. + @brief Generate a property list by deserializing an M-text. The mplist_deserialize () function parses M-text $MT and returns a property list. diff --git a/src/symbol.c b/src/symbol.c index 2dd32d3..c573bb1 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -480,7 +480,7 @@ msymbol_as_managing_key (const char *name) /***en @brief Check if a symbol is a managing key. - The msymbol_is_managing_key () function checks if the sysmbol + The msymbol_is_managing_key () function checks if the symbol $SYMBOL is a managing key or not. @return Return 1 if the symbol is a managing key. Otherwise, diff --git a/src/textprop.c b/src/textprop.c index 12fa41f..e70998d 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -2934,7 +2934,7 @@ mtext_serialize (MText *mt, int from, int to, MPlist *property_list) @brief Deserialize text properties in an M-text. The mtext_deserialize () function deserializes M-text $MT. $MT - must be an XML having the followng DTD. + must be an XML having the following DTD. @verbatim