summaryrefslogtreecommitdiff
path: root/frontends/kolibrios/fb/gui.c
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-05-11 17:14:01 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-06-10 08:25:29 +0200
commit839c2e8e6342dae087b73812ffeffda47af2094a (patch)
treee5ff3a7bc8b2e4bf6364cfb4508b3e383b1213c5 /frontends/kolibrios/fb/gui.c
parent5aeb8eb5583d7d088c8132d3dca0dc3c34d8c565 (diff)
downloadnetsurf-839c2e8e6342dae087b73812ffeffda47af2094a.tar.gz
netsurf-839c2e8e6342dae087b73812ffeffda47af2094a.tar.bz2
Tidy up some things.
Diffstat (limited to 'frontends/kolibrios/fb/gui.c')
-rw-r--r--frontends/kolibrios/fb/gui.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/frontends/kolibrios/fb/gui.c b/frontends/kolibrios/fb/gui.c
index d12bdfcf0..ebd3a3d3b 100644
--- a/frontends/kolibrios/fb/gui.c
+++ b/frontends/kolibrios/fb/gui.c
@@ -30,6 +30,8 @@
#include <libnsfb_plot.h>
#include <libnsfb_event.h>
+#include <kos32sys.h>
+
#include "utils/utils.h"
#include "utils/nsoption.h"
#include "utils/filepath.h"
@@ -491,7 +493,7 @@ process_cmdline(int argc, char** argv)
}
/* Remove me! */
- feurl = "http://www.kolibrios.org";
+ feurl = "http://board.kolibrios.org";
/* NS on KolibriOS does not support option parsing (yet) */
@@ -2124,6 +2126,10 @@ int main(int argc, char** argv)
.layout = framebuffer_layout_table,
};
+ /* Initialize heap so that we can do memory allocations */
+ unsigned int heapsize = heap_init();
+ debug_board_printf("[SYSTEM] Initialized heap (Size = %u bytes)\n", heapsize);
+ assert(heapsize != 0);
/* fix args */
#define MKARGV(i,opt) argv[i] = (char *) malloc(strlen(opt) + 1); strcpy(argv[i], opt);