summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_font.h
diff options
context:
space:
mode:
authorAli Alzyod <ali198724@gmail.com>2020-08-25 10:15:08 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-08-25 12:38:56 +0200
commit805545ab68e420168277251a76faf0e4399c2d10 (patch)
tree1e08bb3b1bb240db8f39f8d60a26d0d37a570337 /src/lib/evas/common/evas_font.h
parent8eefc204fcbe0f577cd8ac5964863156cd259cb4 (diff)
evas_font_query: add Use parentheses within macros
Differential Revision: https://phab.enlightenment.org/D12116
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_font.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/evas/common/evas_font.h b/src/lib/evas/common/evas_font.h
index fbed8e64bf..5a582c0632 100644
--- a/src/lib/evas/common/evas_font.h
+++ b/src/lib/evas/common/evas_font.h
@@ -63,10 +63,10 @@ typedef unsigned long long DATA64;
63 * https://unicode.org/ivd/ 63 * https://unicode.org/ivd/
64 * https://www.freetype.org/freetype2/docs/reference/ft2-glyph_variants.html 64 * https://www.freetype.org/freetype2/docs/reference/ft2-glyph_variants.html
65*/ 65*/
66#define VAR_SEQ(x) GENERIC_VARIATION_SEQUENCES(x) | IDEOGRAPHICS_VARIATION_SEQUENCES(x) | MANGOLIAN_VARIATION_SEQUENCES(x) 66#define VAR_SEQ(x) (GENERIC_VARIATION_SEQUENCES(x) | IDEOGRAPHICS_VARIATION_SEQUENCES(x) | MANGOLIAN_VARIATION_SEQUENCES(x))
67#define GENERIC_VARIATION_SEQUENCES(x) (x>=0xFE00 && x<=0xFE0F) ? x : 0 67#define GENERIC_VARIATION_SEQUENCES(x) ((x>=0xFE00 && x<=0xFE0F) ? x : 0)
68#define IDEOGRAPHICS_VARIATION_SEQUENCES(x) (x>=0xE0100 && x<=0xE01EF) ? x : 0 68#define IDEOGRAPHICS_VARIATION_SEQUENCES(x) ((x>=0xE0100 && x<=0xE01EF) ? x : 0)
69#define MANGOLIAN_VARIATION_SEQUENCES(x) (x>=0x180B && x<=0x180D) ? x : 0 69#define MANGOLIAN_VARIATION_SEQUENCES(x) ((x>=0x180B && x<=0x180D) ? x : 0)
70/** 70/**
71 * http://unicode.org/emoji/charts/emoji-variants.html 71 * http://unicode.org/emoji/charts/emoji-variants.html
72*/ 72*/