diff options
author | Sebastian Geerken <devnull@localhost> | 2015-01-02 20:05:48 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-01-02 20:05:48 +0100 |
commit | 4008a8962e30437449cafbc0f178c7f2b92dd57c (patch) | |
tree | ce7f3f39f21f96813e590f88a75223a4d1b56729 | |
parent | 456d1af50cf24634c372a895971e0287f2234d44 (diff) |
'adjust_min_width' is now set by default.
-rw-r--r-- | dillorc | 6 | ||||
-rw-r--r-- | dw/widget.cc | 2 | ||||
-rw-r--r-- | src/prefs.c | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -81,12 +81,12 @@ # If this is set to YES, all CSS size specifications are adjusted so that # all contents can be displayed. (Except for tables, see below.) -#adjust_min_width=NO +#adjust_min_width=YES # If this is set to YES, all CSS size specifications for tables are # adjusted so that all contents can be displayed. This is seperated -# from "adjust_min_width" (with another standard value) to mimic -# Firefox, which differenciates between tables and, say, textblocks. +# from "adjust_min_width" so that it is able to mimic Firefox, which +# differenciates between tables and, say, textblocks (in some cases). #adjust_table_min_width=YES #------------------------------------------------------------------------- diff --git a/dw/widget.cc b/dw/widget.cc index be64d83a..916dfd21 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -60,7 +60,7 @@ void Widget::WidgetImgRenderer::draw (int x, int y, int width, int height) // ---------------------------------------------------------------------- -bool Widget::adjustMinWidth = false; +bool Widget::adjustMinWidth = true; int Widget::CLASS_ID = -1; Widget::Widget () diff --git a/src/prefs.c b/src/prefs.c index abcbfcd0..65ebcdae 100644 --- a/src/prefs.c +++ b/src/prefs.c @@ -68,7 +68,7 @@ void a_Prefs_init(void) prefs.http_referer = dStrdup(PREFS_HTTP_REFERER); prefs.http_user_agent = dStrdup(PREFS_HTTP_USER_AGENT); prefs.limit_text_width = FALSE; - prefs.adjust_min_width = FALSE; + prefs.adjust_min_width = TRUE; prefs.adjust_table_min_width = TRUE; prefs.load_images=TRUE; prefs.load_background_images=FALSE; |