]> mj.ucw.cz Git - libucw.git/commitdiff
Use GET_UTF8 instead of GET_UTF8_CHAR (this costs us an extra unnecessary
authorMartin Mares <mj@ucw.cz>
Fri, 20 Aug 2004 11:44:08 +0000 (11:44 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 20 Aug 2004 11:44:08 +0000 (11:44 +0000)
test for character < 0x80, but it is worth the simplification).

lib/tagged-text.h

index 29ba1d8e2c4516e229f1c21282f1cf01022f0f76..270bc91d014024704af76979cf300465a66a8685 100644 (file)
@@ -15,7 +15,7 @@
 #define GET_TAGGED_CHAR(p,u) do {                              \
   u = *p;                                                      \
   if (u >= 0xc0)                                               \
-    GET_UTF8_CHAR(p,u);                                                \
+    GET_UTF8(p,u);                                             \
   else if (u >= 0x80)                                          \
     {                                                          \
       p++;                                                     \