summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-04-24 21:21:49 +0100
committerVincent Sanders <vince@kyllikki.org>2016-04-24 21:21:49 +0100
commit713430f6e5ef49960cb85fa917e73a131d69c7c8 (patch)
treec6f2928cb57da02f4908c168296b67acd5293e87 /cocoa
parentf90ed33501485663a091baefe41a87db93d2db91 (diff)
downloadnetsurf-713430f6e5ef49960cb85fa917e73a131d69c7c8.tar.gz
netsurf-713430f6e5ef49960cb85fa917e73a131d69c7c8.tar.bz2
attempt to fix cocoa frontend font layout table
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/font.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/cocoa/font.m b/cocoa/font.m
index fb0562be5..f52ec85bc 100644
--- a/cocoa/font.m
+++ b/cocoa/font.m
@@ -22,7 +22,7 @@
#import "cocoa/font.h"
#import "utils/nsoption.h"
-#import "desktop/font.h"
+#import "desktop/gui_layout.h"
#import "desktop/plotters.h"
@@ -102,8 +102,8 @@ static nserror cocoa_font_split(const plot_font_style_t *style,
static struct gui_layout_table layout_table = {
.width = cocoa_font_width,
- .position = fb_font_position,
- .split = fb_font_split,
+ .position = cocoa_font_position,
+ .split = cocoa_font_split,
};
struct gui_layout_table *cocoa_layout_table = &layout_table;