diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-03-22 09:34:34 +0000 |
commit | 1490b52a6b96b6a69a0c4fe9e0515dc717425128 (patch) | |
tree | 8caba44a9da98e6cebf4f188e3232534b1596a4d /beos/beos_font.cpp | |
parent | 0797bf5a5731b2c8d55105b453530584ea4e1f5b (diff) | |
download | netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.gz netsurf-1490b52a6b96b6a69a0c4fe9e0515dc717425128.tar.bz2 |
NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
Diffstat (limited to 'beos/beos_font.cpp')
-rw-r--r-- | beos/beos_font.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/beos/beos_font.cpp b/beos/beos_font.cpp index eca2fab9e..5c7d1caf8 100644 --- a/beos/beos_font.cpp +++ b/beos/beos_font.cpp @@ -296,20 +296,20 @@ void nsbeos_style_to_font(BFont &font, const plot_font_style_t *fstyle) switch (fstyle->family) { case PLOT_FONT_FAMILY_SERIF: - family = option_font_serif; + family = nsoption_charp(font_serif); break; case PLOT_FONT_FAMILY_MONOSPACE: - family = option_font_mono; + family = nsoption_charp(font_mono); break; case PLOT_FONT_FAMILY_CURSIVE: - family = option_font_cursive; + family = nsoption_charp(font_cursive); break; case PLOT_FONT_FAMILY_FANTASY: - family = option_font_fantasy; + family = nsoption_charp(font_fantasy); break; case PLOT_FONT_FAMILY_SANS_SERIF: default: - family = option_font_sans; + family = nsoption_charp(font_sans); break; } |