aboutsummaryrefslogtreecommitdiff
path: root/src/nav.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-10-18 18:43:52 +0000
committercorvid <corvid@lavabit.com>2012-10-18 18:43:52 +0000
commit774fbff0261d1aae1f47fdddfb57d390622fcd51 (patch)
tree1047f38b779c47397700d0cf63fd8aad8bcb982c /src/nav.c
parent256195f1b4853655ebf4eab1b640c20f423c889e (diff)
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.
Diffstat (limited to 'src/nav.c')
-rw-r--r--src/nav.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nav.c b/src/nav.c
index 7a567710..83a4fd9f 100644
--- a/src/nav.c
+++ b/src/nav.c
@@ -590,6 +590,14 @@ void a_Nav_unref_buf(const DilloUrl *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().
*/
void a_Nav_set_vsource_url(const DilloUrl *Url)