From 0f650a174990401b13a732a1008385a71e69cb8b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 20 Aug 2004 11:44:08 +0000 Subject: [PATCH] Use GET_UTF8 instead of GET_UTF8_CHAR (this costs us an extra unnecessary test for character < 0x80, but it is worth the simplification). --- lib/tagged-text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; \ -- 2.39.2