From dceaffe4f73cfe77b2a974149030d6cae75ee7d20465877ba86f33baf1404e3c Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Fri, 18 Apr 2025 13:37:55 -0400 Subject: [PATCH] Do the whitespace format. (This may make some diff tracking easier?) --- src/web.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/web.cc b/src/web.cc index 2e90161..8dd1e46 100644 --- a/src/web.cc +++ b/src/web.cc @@ -103,16 +103,16 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web, return 1; } - /* A non-RootUrl. At this moment we only handle image-children */ - if (!dStrnAsciiCasecmp(Type, "image/", 6)) { - auto dw = (Widget*) viewer(Type, Web, Call, Data); - return (dw ? 1 : -1); - - } - MSG_HTTP("'%s' cannot be displayed as image; has media type '%s'\n", - URL_STR(Web->url), Type); - return -1; + /* A non-RootUrl. At this moment we only handle image-children */ + if (!dStrnAsciiCasecmp(Type, "image/", 6)) { + auto dw = (Widget*) viewer(Type, Web, Call, Data); + return (dw ? 1 : -1); + } + + MSG_HTTP("'%s' cannot be displayed as image; has media type '%s'\n", + URL_STR(Web->url), Type); + return -1; }