summaryrefslogtreecommitdiff
path: root/frontends/framebuffer/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-02-17 00:08:28 +0000
committerVincent Sanders <vince@kyllikki.org>2019-02-17 00:11:27 +0000
commit54371c28f07e638694ad2148e8900e1bae71e3d4 (patch)
tree70e32c6b86f5d584d039b01edf4d9b5eb3a7d039 /frontends/framebuffer/gui.c
parentcfb6c461fc61c64cf39e4708922ad024ac5fce91 (diff)
downloadnetsurf-54371c28f07e638694ad2148e8900e1bae71e3d4.tar.gz
netsurf-54371c28f07e638694ad2148e8900e1bae71e3d4.tar.bz2
make framebuffer use the language environment for the UI resources
Diffstat (limited to 'frontends/framebuffer/gui.c')
-rw-r--r--frontends/framebuffer/gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/framebuffer/gui.c b/frontends/framebuffer/gui.c
index 1e27dafb6..95e35fb30 100644
--- a/frontends/framebuffer/gui.c
+++ b/frontends/framebuffer/gui.c
@@ -2104,7 +2104,8 @@ static struct gui_misc_table framebuffer_misc_table = {
.quit = gui_quit,
};
-/** Entry point from OS.
+/**
+ * Entry point from OS.
*
* /param argc The number of arguments in the string vector.
* /param argv The argument string vector.
@@ -2134,7 +2135,7 @@ main(int argc, char** argv)
die("NetSurf operation table failed registration");
}
- respaths = fb_init_resource(NETSURF_FB_RESPATH":"NETSURF_FB_FONTPATH);
+ respaths = fb_init_resource_path(NETSURF_FB_RESPATH":"NETSURF_FB_FONTPATH);
/* initialise logging. Not fatal if it fails but not much we
* can do about it either.