[rygel] core: Clarify a condition
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Clarify a condition
- Date: Mon, 16 Nov 2009 23:18:00 +0000 (UTC)
commit e42ac7d38b54092197306e3ab88441c6d13e2bda
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Nov 10 23:58:15 2009 +0200
core: Clarify a condition
src/rygel/rygel-media-container.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-media-container.vala b/src/rygel/rygel-media-container.vala
index f5ba685..26f39a2 100644
--- a/src/rygel/rygel-media-container.vala
+++ b/src/rygel/rygel-media-container.vala
@@ -145,7 +145,7 @@ public abstract class Rygel.MediaContainer : MediaObject {
result.add (child);
}
- if (limit > 0 && limit <= result.size) {
+ if (limit > 0 && result.size >= limit) {
break;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]