]> spindle.queued.net Git - midori/commitdiff
Fix arguments given to midori_browser_save_source
authorChristian Dywan <christian@twotoasts.de>
Sat, 19 Nov 2011 20:07:43 +0000 (21:07 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 19 Nov 2011 20:35:56 +0000 (21:35 +0100)
midori/midori-browser.c

index 6866f31fd8a3681d0fedc647dd14083a15d539eb..4aea650e358cf88f6d6e005fe27202f4730a993a 100644 (file)
@@ -3431,7 +3431,7 @@ _action_source_view_activate (GtkAction*     action,
     if (!data)
         return;
 
-    filename = midori_browser_save_source (uri, data, NULL, view);
+    filename = midori_browser_save_source (uri, data->str, data->len, NULL);
     if (!(text_editor && *text_editor))
     {
         GtkWidget* source;