From 774fbff0261d1aae1f47fdddfb57d390622fcd51 Mon Sep 17 00:00:00 2001 From: corvid Date: Thu, 18 Oct 2012 18:43:52 +0000 Subject: don't view source for images Viewing image source wasn't working anyway. I have the impression that the vsource dpi is told, e.g., "Here's 3000 bytes", and then it's only given however much it takes to reach a NULL in the image data -- but I didn't trouble myself to dig into the matter, since unformatted image source is not very informative anyway. --- src/nav.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/nav.c') diff --git a/src/nav.c b/src/nav.c index 7a567710..83a4fd9f 100644 --- a/src/nav.c +++ b/src/nav.c @@ -589,6 +589,14 @@ void a_Nav_unref_buf(const DilloUrl *Url) a_Capi_unref_buf(Url); } +/* + * Wrapper for a_Capi_get_content_type(). + */ +const char *a_Nav_get_content_type(const DilloUrl *url) +{ + return a_Capi_get_content_type(url); +} + /* * Wrapper for a_Capi_set_vsource_url(). */ -- cgit v1.2.3