summaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2008-05-25 23:28:06 +0000
committerJames Bursa <james@netsurf-browser.org>2008-05-25 23:28:06 +0000
commitb53f36ebc2feb627d9fa79389e3db7b4a14c6d52 (patch)
treef937ab16f172cbc601ac091f57b71f8d2eda6915 /debug
parent70da04d69e87e6d11fc043dc769de2b5e027f071 (diff)
downloadnetsurf-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.c2
-rw-r--r--debug/filetyped.c2
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";
}