summaryrefslogtreecommitdiff
path: root/editors/gtranslator/patches/patch-af
blob: a4aa340284f7780aba042219e726d6f107be4567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-af,v 1.1 2006/05/08 21:31:28 joerg Exp $

--- src/history.c.orig	2006-05-08 21:07:58.000000000 +0000
+++ src/history.c
@@ -343,7 +343,7 @@ void remove_duplicate_entries(GList *lis
 			GList *r=rest;
 			
 			GTR_ITER(rest);
-			g_list_remove_link(list, r);
+			list = g_list_remove_link(list, r);
 
 			gtranslator_history_entry_free(GTR_HISTORY_ENTRY(r->data));
 			g_list_free_1(r);