summaryrefslogtreecommitdiff
path: root/print/evince/patches/patch-ah
blob: ac98fc95c645f09fb62be220b3ea99813661182f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ah,v 1.1 2007/12/16 11:39:43 drochner Exp $

--- libdocument/ev-attachment.c.orig	2007-12-16 10:40:27.000000000 +0100
+++ libdocument/ev-attachment.c
@@ -396,7 +396,7 @@ ev_attachment_open (EvAttachment *attach
 		if (ev_attachment_save (attachment, uri, error)) {
 			if (attachment->priv->tmp_uri)
 				g_free (attachment->priv->tmp_uri);
-			attachment->priv->tmp_uri = g_strdup (filename);
+			attachment->priv->tmp_uri = g_strdup (uri);
 
 			retval = ev_attachment_launch_app (attachment, error);
 		}