[autofit] Typo.
* src/autofit/afblue.hin, src/autofit/afblue.c (GET_UTF8_CHAR): Use cast.
This commit is contained in:
parent
306f8c5d89
commit
5c4a23a4e9
|
@ -1,3 +1,10 @@
|
||||||
|
2013-08-25 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[autofit] Typo.
|
||||||
|
|
||||||
|
* src/autofit/afblue.hin, src/autofit/afblue.c (GET_UTF8_CHAR): Use
|
||||||
|
cast.
|
||||||
|
|
||||||
2013-08-25 Werner Lemberg <wl@gnu.org>
|
2013-08-25 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[autofit] Synchronize `cjk' with `latin' module (and vice versa).
|
[autofit] Synchronize `cjk' with `latin' module (and vice versa).
|
||||||
|
|
|
@ -29,7 +29,7 @@ FT_BEGIN_HEADER
|
||||||
/* an auxiliary macro to decode a UTF-8 character -- since we only use */
|
/* an auxiliary macro to decode a UTF-8 character -- since we only use */
|
||||||
/* hard-coded, self-converted data, no error checking is performed */
|
/* hard-coded, self-converted data, no error checking is performed */
|
||||||
#define GET_UTF8_CHAR( ch, p ) \
|
#define GET_UTF8_CHAR( ch, p ) \
|
||||||
ch = *p++; \
|
ch = (unsigned char)*p++; \
|
||||||
if ( ch >= 0x80 ) \
|
if ( ch >= 0x80 ) \
|
||||||
{ \
|
{ \
|
||||||
FT_UInt len; \
|
FT_UInt len; \
|
||||||
|
|
|
@ -26,7 +26,7 @@ FT_BEGIN_HEADER
|
||||||
/* an auxiliary macro to decode a UTF-8 character -- since we only use */
|
/* an auxiliary macro to decode a UTF-8 character -- since we only use */
|
||||||
/* hard-coded, self-converted data, no error checking is performed */
|
/* hard-coded, self-converted data, no error checking is performed */
|
||||||
#define GET_UTF8_CHAR( ch, p ) \
|
#define GET_UTF8_CHAR( ch, p ) \
|
||||||
ch = *p++; \
|
ch = (unsigned char)*p++; \
|
||||||
if ( ch >= 0x80 ) \
|
if ( ch >= 0x80 ) \
|
||||||
{ \
|
{ \
|
||||||
FT_UInt len; \
|
FT_UInt len; \
|
||||||
|
|
Loading…
Reference in New Issue