summaryrefslogtreecommitdiff
path: root/src/nsfont.m
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2019-07-09 18:18:44 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2019-07-09 18:40:57 +0200
commita9d6ba49d5cc11fd921c796d2e4ad2d47121d34f (patch)
tree30ed729458016dbb9e133289f2de936eba3d0d61 /src/nsfont.m
parent1ffa65cea5a967cbf5e2c1b80ccb7cacb758e7a8 (diff)
downloademacs-a9d6ba49d5cc11fd921c796d2e4ad2d47121d34f.tar.gz
Rename font_driver member close -> close_font
* src/alloc.c (cleanup_vector): * 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_clear_cache, font_close_object): Rename `close' member to `close_font', to avoid clash with preprocessor define of `close' in nt/inc/ms-w32.h and for consistency with `open_font'.
Diffstat (limited to 'src/nsfont.m')
-rw-r--r--src/nsfont.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsfont.m b/src/nsfont.m
index df582024bdc..7a40d672b5d 100644
--- a/src/nsfont.m
+++ b/src/nsfont.m
@@ -1492,7 +1492,7 @@ struct font_driver const nsfont_driver =
.match = nsfont_match,
.list_family = nsfont_list_family,
.open_font = nsfont_open,
- .close = nsfont_close,
+ .close_font = nsfont_close,
.has_char = nsfont_has_char,
.encode_char = nsfont_encode_char,
.text_extents = nsfont_text_extents,