summaryrefslogtreecommitdiff
path: root/frontends/kolibrios/fb/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/kolibrios/fb/gui.c')
-rw-r--r--frontends/kolibrios/fb/gui.c20
1 files changed, 8 insertions, 12 deletions
diff --git a/frontends/kolibrios/fb/gui.c b/frontends/kolibrios/fb/gui.c
index 90388acda..6d21b737e 100644
--- a/frontends/kolibrios/fb/gui.c
+++ b/frontends/kolibrios/fb/gui.c
@@ -60,11 +60,6 @@
#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrutc"
-/* #undef LOG */
-/* #define LOG(format, args...) \ */
-/* debug_board_printf(format, ##args); \ */
-/* debug_board_printf("\n"); \ */
-
fbtk_widget_t *fbtk;
static bool fb_complete = false;
@@ -493,6 +488,7 @@ process_cmdline(int argc, char** argv)
}
/* Remove me! */
+ /* feurl = "file:///usbhd0/1/bin/res/text.html"; */
feurl = "http://board.kolibrios.org";
/* NS on KolibriOS does not support option parsing (yet) */
@@ -2140,16 +2136,16 @@ int main(int argc, char** argv)
/* 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);
+ LOG("[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);
-#define ARGC 3
-MKARGV(1, "-V");
-MKARGV(2, "/tmp0/1/netsurf.log");
-MKARGV(ARGC, "\0");
- argc = ARGC;
+/* #define MKARGV(i,opt) argv[i] = (char *) malloc(strlen(opt) + 1); strcpy(argv[i], opt); */
+/* #define ARGC 3 */
+/* MKARGV(1, "-V"); */
+/* MKARGV(2, "/tmp0/1/netsurf.log"); */
+/* MKARGV(ARGC, "\0"); */
+/* argc = ARGC; */
/* args fixed */
/* The only restriction is that the kolibrios-netsurf binary and the res/ directory should be in the same directory. */