diff options
author | James Bursa <james@netsurf-browser.org> | 2008-05-25 23:28:06 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2008-05-25 23:28:06 +0000 |
commit | b53f36ebc2feb627d9fa79389e3db7b4a14c6d52 (patch) | |
tree | f937ab16f172cbc601ac091f57b71f8d2eda6915 /debug | |
parent | 70da04d69e87e6d11fc043dc769de2b5e027f071 (diff) | |
download | netsurf-b53f36ebc2feb627d9fa79389e3db7b4a14c6d52.tar.gz netsurf-b53f36ebc2feb627d9fa79389e3db7b4a14c6d52.tar.bz2 |
Add TARGET=debug and fix the debug build.
svn path=/trunk/netsurf/; revision=4202
Diffstat (limited to 'debug')
-rw-r--r-- | debug/debug_bitmap.c | 2 | ||||
-rw-r--r-- | debug/filetyped.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debug/debug_bitmap.c b/debug/debug_bitmap.c index b560b481d..34154607a 100644 --- a/debug/debug_bitmap.c +++ b/debug/debug_bitmap.c @@ -119,7 +119,7 @@ bool bitmap_redraw(struct content *c, int x, int y, * \return true on success, false on error and error reported */ -bool bitmap_save(struct bitmap *bitmap, const char *path) +bool bitmap_save(struct bitmap *bitmap, const char *path, unsigned flags) { return true; } diff --git a/debug/filetyped.c b/debug/filetyped.c index 2bb465b24..d15890ce4 100644 --- a/debug/filetyped.c +++ b/debug/filetyped.c @@ -43,6 +43,8 @@ const char *fetch_filetype(const char *unix_path) return "image/png"; if (2 < l && strcasecmp(unix_path + l - 3, "jng") == 0) return "image/jng"; + if (2 < l && strcasecmp(unix_path + l - 3, "svg") == 0) + return "image/svg"; return "text/html"; } |