From 856126c72e15a45f9ad999cfea3f403780614fd4 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Fri, 18 Jan 2019 18:07:44 +0800 Subject: [PATCH] make GRF_HANGING_PUNC_FIRST and GRF_HANGING_PUNC_LAST as flag bits --- include/gdi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/gdi.h b/include/gdi.h index 64505ce1..12a80874 100644 --- a/include/gdi.h +++ b/include/gdi.h @@ -9592,10 +9592,10 @@ MG_EXPORT int GUIAPI GetGlyphsByRules(LOGFONT* logfont, #define GRF_HANGING_PUNC_MASK 0x00000F00 #define GRF_HANGING_PUNC_NONE 0x00000000 -#define GRF_HANGING_PUNC_FIRST 0x00000100 -#define GRF_HANGING_PUNC_FORCE_END 0x00000200 -#define GRF_HANGING_PUNC_ALLOW_END 0x00000300 -#define GRF_HANGING_PUNC_LAST 0x00000400 +#define GRF_HANGING_PUNC_FORCE_END 0x00000100 +#define GRF_HANGING_PUNC_ALLOW_END 0x00000200 +#define GRF_HANGING_PUNC_FIRST 0x00000400 // flag bit +#define GRF_HANGING_PUNC_LAST 0x00000800 // flag bit #define GRF_DIRECTION_MASK 0x00003000 #define GRF_DIRECTION_LTR 0x00000000