From 0c0b263b29b044c8517a51d8d22a0eeb622ae6b4 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 17 Oct 2012 11:41:25 +0100 Subject: Add some startup logging. --- desktop/history_global_core.c | 3 +++ riscos/font.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/desktop/history_global_core.c b/desktop/history_global_core.c index 50c326684..3222dc7b8 100644 --- a/desktop/history_global_core.c +++ b/desktop/history_global_core.c @@ -287,11 +287,14 @@ bool history_global_initialise(struct tree *tree, const char* folder_icon_name) if (!history_global_initialise_nodes()) return false; + LOG(("Building history tree")); + global_history_initialised = true; urldb_iterate_entries(global_history_add_internal); global_history_initialised = false; tree_set_node_expanded(global_history_tree, global_history_tree_root, false, true, true); + LOG(("History tree built")); return true; } diff --git a/riscos/font.c b/riscos/font.c index ff9127c0b..717b9606c 100644 --- a/riscos/font.c +++ b/riscos/font.c @@ -76,6 +76,7 @@ void nsfont_init(void) nsfont_check_fonts(); + LOG(("Initialise RUfl")); code = rufl_init(); if (code != rufl_OK) { if (code == rufl_FONT_MANAGER_ERROR) @@ -87,6 +88,7 @@ void nsfont_init(void) die("The Unicode font library could not be initialized. " "Please report this to the developers."); } + LOG(("RUfl initialised")); if (rufl_family_list_entries == 0) die("No fonts could be found. At least one font must be " -- cgit v1.2.3