Set treeview text size to 12pt.

This commit is contained in:
Michael Drake 2013-09-09 22:19:18 +01:00
parent 3d123d72fc
commit 65a658769e
1 changed files with 7 additions and 1 deletions

View File

@ -59,7 +59,7 @@
#include "desktop/netsurf.h"
#include "utils/nsoption.h"
#include "desktop/save_complete.h"
#include "desktop/tree.h"
#include "desktop/treeview.h"
#include "render/font.h"
#include "riscos/content-handlers/artworks.h"
#include "riscos/bitmap.h"
@ -416,6 +416,7 @@ static void gui_init(int argc, char** argv)
int length;
char *nsdir_temp;
byte *base;
nserror err;
/* re-enable all FPU exceptions/traps except inexact operations,
* which we're not interested in, and underflow which is incorrectly
@ -541,6 +542,11 @@ static void gui_init(int argc, char** argv)
die(error->errmess);
}
err = treeview_init(12);
if (err != NSERROR_OK) {
die("Failed to initialise treeview");
}
/* Initialise themes before dialogs */
ro_gui_theme_initialise();
/* Initialise dialog windows (must be after UI sprites are loaded) */