From b53f36ebc2feb627d9fa79389e3db7b4a14c6d52 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 25 May 2008 23:28:06 +0000 Subject: Add TARGET=debug and fix the debug build. svn path=/trunk/netsurf/; revision=4202 --- debug/debug_bitmap.c | 2 +- debug/filetyped.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'debug') 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"; } -- cgit v1.2.3