summaryrefslogtreecommitdiff
path: root/gtk/font_pango.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-07-22 12:03:37 +0000
committerJames Bursa <james@netsurf-browser.org>2004-07-22 12:03:37 +0000
commit34c2bf92974c27693b06e549e55853f0d8d8659a (patch)
treeb44536650978a21740243ab8071c340fb96619c6 /gtk/font_pango.c
parenta36c561fb01d0f49943971706c514a532939ebae (diff)
downloadnetsurf-34c2bf92974c27693b06e549e55853f0d8d8659a.tar.gz
netsurf-34c2bf92974c27693b06e549e55853f0d8d8659a.tar.bz2
[project @ 2004-07-22 12:03:37 by bursa]
Make the gtk build compile again and implement mouse clicks. svn path=/import/netsurf/; revision=1137
Diffstat (limited to 'gtk/font_pango.c')
-rw-r--r--gtk/font_pango.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/font_pango.c b/gtk/font_pango.c
index a376967a5..22fbc6024 100644
--- a/gtk/font_pango.c
+++ b/gtk/font_pango.c
@@ -70,7 +70,7 @@ struct font_data *nsfont_open(struct font_set *set, struct css_style *style)
data->id = fontdesc;
data->size = size;
- data->space_width = font_width(data, " ", 1);
+ data->space_width = nsfont_width(data, " ", 1);
return data;
}