]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/unicode.h
LibUCW: xrealloc(ptr, 0) should return NULL and not die.
[libucw.git] / ucw / unicode.h
index 8b88fc4525edc9c75a760a19d9e42e4593d34772..d861788bd0b7553875b5d79d28edaf89b210a0cb 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _UCW_UNICODE_H
 #define _UCW_UNICODE_H
 
-#include "ucw/unaligned.h"
+#include <ucw/unaligned.h>
 
 /* Macros for handling UTF-8 */
 
@@ -168,7 +168,7 @@ get1: UTF8_GET_NEXT;
 }
 
 /**
- * Decode a value from the range `[0, 0xFFFF]` (basic multilignual plane)
+ * Decode a value from the range `[0, 0xFFFF]` (basic multilingual plane)
  * or return `UNI_REPLACEMENT` if the encoding has been corrupted.
  **/
 static inline byte *utf8_get(const byte *p, uns *uu)