diff options
author | corvid <corvid@lavabit.com> | 2012-10-18 18:43:52 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-10-18 18:43:52 +0000 |
commit | 774fbff0261d1aae1f47fdddfb57d390622fcd51 (patch) | |
tree | 1047f38b779c47397700d0cf63fd8aad8bcb982c /src/nav.c | |
parent | 256195f1b4853655ebf4eab1b640c20f423c889e (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.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) |