Do the whitespace format.
(This may make some diff tracking easier?)
This commit is contained in:
18
src/web.cc
18
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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user