Do the whitespace format.

(This may make some diff tracking easier?)
This commit is contained in:
2025-04-18 13:37:55 -04:00
parent 317d1bfa56
commit dceaffe4f7

View File

@ -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;
}