diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index ec79dd18..33f49ad9 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -298,6 +298,9 @@ static iRect documentBounds_DocumentWidget_(const iDocumentWidget *d) { | |||
298 | } | 298 | } |
299 | 299 | ||
300 | static int forceBreakWidth_DocumentWidget_(const iDocumentWidget *d) { | 300 | static int forceBreakWidth_DocumentWidget_(const iDocumentWidget *d) { |
301 | if (equalCase_Rangecc(urlScheme_String(d->mod.url), "gopher")) { | ||
302 | return documentWidth_DocumentWidget_(d); | ||
303 | } | ||
301 | if (forceLineWrap_App()) { | 304 | if (forceLineWrap_App()) { |
302 | const iRect bounds = bounds_Widget(constAs_Widget(d)); | 305 | const iRect bounds = bounds_Widget(constAs_Widget(d)); |
303 | const iRect docBounds = documentBounds_DocumentWidget_(d); | 306 | const iRect docBounds = documentBounds_DocumentWidget_(d); |