From: Martin Mares Date: Fri, 20 Aug 2004 11:44:08 +0000 (+0000) Subject: Use GET_UTF8 instead of GET_UTF8_CHAR (this costs us an extra unnecessary X-Git-Tag: holmes-import~904 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=0f650a174990401b13a732a1008385a71e69cb8b;p=libucw.git Use GET_UTF8 instead of GET_UTF8_CHAR (this costs us an extra unnecessary test for character < 0x80, but it is worth the simplification). --- diff --git a/lib/tagged-text.h b/lib/tagged-text.h index 29ba1d8e..270bc91d 100644 --- a/lib/tagged-text.h +++ b/lib/tagged-text.h @@ -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++; \