gtranslator r3717 - trunk/src
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3717 - trunk/src
- Date: Mon, 22 Sep 2008 09:44:39 +0000 (UTC)
Author: icq
Date: Mon Sep 22 09:44:39 2008
New Revision: 3717
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3717&view=rev
Log:
2008-08-23 Ignacio Casal Quinteiro <nacho resa gmail com>
* actions-file.c (is_duplicated_location):
A try to fix the bug #548923.
Modified:
trunk/src/ChangeLog
trunk/src/actions-file.c
Modified: trunk/src/actions-file.c
==============================================================================
--- trunk/src/actions-file.c (original)
+++ trunk/src/actions-file.c Mon Sep 22 09:44:39 2008
@@ -397,12 +397,12 @@
is_duplicated_location (const GSList *locations,
GFile *u)
{
- while (locations != NULL)
+ GSList *l;
+
+ for (l = (GSList *)locations; l != NULL; l = g_slist_next (l))
{
- if (g_file_equal (u, locations->data))
+ if (g_file_equal (u, l->data))
return TRUE;
-
- locations = g_slist_next (locations);
}
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]