summaryrefslogtreecommitdiff
path: root/frontends/kolibrios/fb/gui.c
diff options
context:
space:
mode:
authorAshish Gupta <ashmew2@gmail.com>2017-04-13 23:36:26 +0200
committerAshish Gupta <ashmew2@gmail.com>2017-06-10 08:25:29 +0200
commit6fed24e8948c1acaaeae002b9ee7ee44a7e2e0a5 (patch)
tree313901d40813d40f94fc5898f782ff55c82df26d /frontends/kolibrios/fb/gui.c
parent6fd280bb5b27842a0ef2977798566c37bd4e1d0e (diff)
downloadnetsurf-6fed24e8948c1acaaeae002b9ee7ee44a7e2e0a5.tar.gz
netsurf-6fed24e8948c1acaaeae002b9ee7ee44a7e2e0a5.tar.bz2
Step 2 : Abuse _TARGET_IS_KOLIBRIOS and build with make TARGET=kolibrios
Diffstat (limited to 'frontends/kolibrios/fb/gui.c')
-rw-r--r--frontends/kolibrios/fb/gui.c61
1 files changed, 30 insertions, 31 deletions
diff --git a/frontends/kolibrios/fb/gui.c b/frontends/kolibrios/fb/gui.c
index 4d4c7334f..dd5ef71ab 100644
--- a/frontends/kolibrios/fb/gui.c
+++ b/frontends/kolibrios/fb/gui.c
@@ -55,7 +55,6 @@
#include "framebuffer/fetch.h"
#include "framebuffer/bitmap.h"
-
#define NSFB_TOOLBAR_DEFAULT_LAYOUT "blfsrutc"
fbtk_widget_t *fbtk;
@@ -485,36 +484,36 @@ process_cmdline(int argc, char** argv)
feurl = NETSURF_HOMEPAGE;
}
- while((opt = getopt_long(argc, argv, "f:b:w:h:",
- long_options, &option_index)) != -1) {
- switch (opt) {
- case 'f':
- fename = optarg;
- break;
-
- case 'b':
- febpp = atoi(optarg);
- break;
-
- case 'w':
- fewidth = atoi(optarg);
- break;
-
- case 'h':
- feheight = atoi(optarg);
- break;
-
- default:
- fprintf(stderr,
- "Usage: %s [-f frontend] [-b bpp] url\n",
- argv[0]);
- return false;
- }
- }
-
- if (optind < argc) {
- feurl = argv[optind];
- }
+ /* while((opt = getopt_long(argc, argv, "f:b:w:h:", */
+ /* long_options, &option_index)) != -1) { */
+ /* switch (opt) { */
+ /* case 'f': */
+ /* fename = optarg; */
+ /* break; */
+
+ /* case 'b': */
+ /* febpp = atoi(optarg); */
+ /* break; */
+
+ /* case 'w': */
+ /* fewidth = atoi(optarg); */
+ /* break; */
+
+ /* case 'h': */
+ /* feheight = atoi(optarg); */
+ /* break; */
+
+ /* default: */
+ /* fprintf(stderr, */
+ /* "Usage: %s [-f frontend] [-b bpp] url\n", */
+ /* argv[0]); */
+ /* return false; */
+ /* } */
+ /* } */
+
+ /* if (optind < argc) { */
+ /* feurl = argv[optind]; */
+ /* } */
return true;
}