]> mj.ucw.cz Git - libucw.git/commitdiff
Doc: Fixed a typo.
authorPavel Charvat <pchar@ucw.cz>
Thu, 6 Nov 2008 16:37:30 +0000 (17:37 +0100)
committerPavel Charvat <pchar@ucw.cz>
Thu, 6 Nov 2008 16:37:30 +0000 (17:37 +0100)
ucw/chartype.h
ucw/unicode.h

index 930bf90e80eb65bd8b68219b2126502b3595967e..1770709c3b0d970fa157ab248a0ec23ff2fe4a53 100644 (file)
@@ -14,7 +14,7 @@
  * We define our own routines to classify 8-bit characters (based on US-ASCII charset).
  * This way we bypass most possible problems with different compilation environments.
  *
  * We define our own routines to classify 8-bit characters (based on US-ASCII charset).
  * This way we bypass most possible problems with different compilation environments.
  *
- * All functions and macros accept any numeric parameters and if it is necessary, they simply ignore higher bits.
+ * All functions and macros accept any numbers and if it is necessary, they simply ignore higher bits.
  * It does not matter whether a parameter is signed or unsigned.
  ***/
 
  * It does not matter whether a parameter is signed or unsigned.
  ***/
 
index 74416c6d051ba61e3e2a3433fd9741562ab35619..2bbbc5170635a4fa3c6c275bd42a1c2603467f76 100644 (file)
@@ -348,7 +348,7 @@ static inline uns unicode_sanitize_char(uns u)
 
 /**
  * Count the number of Unicode character in a zero-terminated UTF-8 string.
 
 /**
  * Count the number of Unicode character in a zero-terminated UTF-8 string.
- * Returned value for corrupted encoding is undefined, but is never greater than `strlen(str)`.
+ * Returned value for corrupted encoding is undefined, but is never greater than strlen().
  **/
 uns utf8_strlen(const byte *str);
 
  **/
 uns utf8_strlen(const byte *str);