summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web-view-schemes/view-source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c
index ec9fe85..144b782 100644
--- a/src/web-view-schemes/view-source.c
+++ b/src/web-view-schemes/view-source.c
@@ -60,9 +60,9 @@ rewrite_uri(MqWebViewScheme G_GNUC_UNUSED *scheme, const gchar *uri)
}
static gchar *
-display_uri(MqWebViewScheme G_GNUC_UNUSED *scheme, const gchar *uri)
+display_uri(MqWebViewScheme *scheme, const gchar G_GNUC_UNUSED *uri)
{
- return g_strdup(uri);
+ return g_strdup_printf("view-source:%s", scheme->view_source.uri);
}
#define WKCMA(ACTION) \