summaryrefslogtreecommitdiff
path: root/src/ftcrfont.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2019-07-09 16:44:24 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2019-07-09 17:34:44 +0200
commitec723406476c818ab8f1da926e70668e36206289 (patch)
tree0ef190b2ba7ec005b361bdc446018d081bb07d6b /src/ftcrfont.c
parent1a1b5f9802577a09317dd036ccefba4222702f4f (diff)
downloademacs-ec723406476c818ab8f1da926e70668e36206289.tar.gz
Rename font_driver member open -> open_font
* src/xftfont.c (xftfont_driver): * src/xfont.c (xfont_driver): * src/nsfont.m (nsfont_driver): * src/macfont.m (macfont_driver): * src/ftxfont.c (ftxfont_driver): * src/ftfont.c (ftfont_driver): * src/ftcrfont.c (ftcrfont_driver): * src/font.h (struct font_driver): * src/font.c (font_open_entity): Rename `open' member to `open_font', to avoid clash with preprocessor define of `open' in lib/fcntl.h and nt/inc/ms-w32.h. Remove earlier #undef hack.
Diffstat (limited to 'src/ftcrfont.c')
-rw-r--r--src/ftcrfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c
index 93786212160..24a4242c89b 100644
--- a/src/ftcrfont.c
+++ b/src/ftcrfont.c
@@ -576,7 +576,7 @@ struct font_driver const ftcrfont_driver =
.list = ftcrfont_list,
.match = ftcrfont_match,
.list_family = ftfont_list_family,
- .open = ftcrfont_open,
+ .open_font = ftcrfont_open,
.close = ftcrfont_close,
.has_char = ftcrfont_has_char,
.encode_char = ftcrfont_encode_char,