gnome-utils r8189 - in branches/gnome-2-24/baobab: . src
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8189 - in branches/gnome-2-24/baobab: . src
- Date: Sat, 22 Nov 2008 16:50:41 +0000 (UTC)
Author: pborelli
Date: Sat Nov 22 16:50:41 2008
New Revision: 8189
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8189&view=rev
Log:
2008-11-22 Paolo Borelli <pborelli katamail com>
* src/baobab.c: (baobab_is_excluded_location):
Fix logic bug that made it return always FALSE.
Modified:
branches/gnome-2-24/baobab/ChangeLog
branches/gnome-2-24/baobab/src/baobab.c
Modified: branches/gnome-2-24/baobab/src/baobab.c
==============================================================================
--- branches/gnome-2-24/baobab/src/baobab.c (original)
+++ branches/gnome-2-24/baobab/src/baobab.c Sat Nov 22 16:50:41 2008
@@ -455,9 +455,11 @@
g_return_val_if_fail (file != NULL, FALSE);
- for (l=baobab.excluded_locations; l != NULL; l = l->next) {
- if (g_file_equal(l->data, file))
+ for (l = baobab.excluded_locations; l != NULL; l = l->next) {
+ if (g_file_equal (l->data, file)) {
ret = TRUE;
+ break;
+ }
}
return ret;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]