[blam] OOPS: Channel: use item.Id as id isn't a variable



commit 8f3b1ce63da9d52fbed2df28e36560d409d6f702
Author: Carlos Martín Nieto <carlos cmartin tk>
Date:   Thu Oct 14 22:37:52 2010 +0200

    OOPS: Channel: use item.Id as id isn't a variable

 src/Channel.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Channel.cs b/src/Channel.cs
index a376380..6af9322 100644
--- a/src/Channel.cs
+++ b/src/Channel.cs
@@ -233,7 +233,7 @@ namespace Imendio.Blam {
         {
             store.Add(item);
             item_list.Add(item.Id);
-            (store.Items[id] as Item).Updated += ItemUpdated;
+            (store.Items[item.Id] as Item).Updated += ItemUpdated;
         }
 
         /* Used to cross-mark as read */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]