diff options
-rw-r--r-- | src/web-view.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web-view.c b/src/web-view.c index c5e76e8..74c9da6 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -919,10 +919,10 @@ save_mhtml_cb(WebKitWebView *web_view, GAsyncResult *result) webkit_web_view_save_to_file_finish(web_view, result, NULL); } -static const gchar * -get_extension(const gchar *filename) +static gchar * +get_extension(gchar *filename) { - const gchar *extension; + gchar *extension; extension = strrchr(filename, '.'); if (extension) { |