diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-12-27 11:11:41 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-12-27 11:11:41 +0000 |
commit | 871c14693e084d4b6ce6ac1786dd08a124185bb6 (patch) | |
tree | 81fef711c80369dc37f9b7141beb56895cfd466a /framebuffer/gui.c | |
parent | 6fa388d862dc5394744e884ab168c70a8918dfbc (diff) | |
download | netsurf-871c14693e084d4b6ce6ac1786dd08a124185bb6.tar.gz netsurf-871c14693e084d4b6ce6ac1786dd08a124185bb6.tar.bz2 |
change the framebuffer frontend way of disabling the toolbar
This changes the toolbar disabling from the empty string (which is
impossible to configure) to the q (for quiet) specifier
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r-- | framebuffer/gui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c index 986c2aee6..9f6a798be 100644 --- a/framebuffer/gui.c +++ b/framebuffer/gui.c @@ -1188,7 +1188,8 @@ create_toolbar(struct gui_window *gw, itmtype = toolbar_layout; - if (*itmtype == 0) { + /* check for the toolbar being disabled */ + if ((*itmtype == 0) || (*itmtype == 'q')) { return NULL; } |