[smuxi/stable] Engine-Twitter: fixed generating duplicate [01] short id (closes: #912)
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi/stable] Engine-Twitter: fixed generating duplicate [01] short id (closes: #912)
- Date: Thu, 26 Dec 2013 13:35:12 +0000 (UTC)
commit eeb5e9f94c35aeecb13e7ac856915b14c9205eb1
Author: Mirco Bauer <meebey meebey net>
Date: Thu Dec 26 14:23:21 2013 +0100
Engine-Twitter: fixed generating duplicate [01] short id (closes: #912)
.../Protocols/Twitter/TwitterProtocolManager.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Engine-Twitter/Protocols/Twitter/TwitterProtocolManager.cs
b/src/Engine-Twitter/Protocols/Twitter/TwitterProtocolManager.cs
index 893725d..b580881 100644
--- a/src/Engine-Twitter/Protocols/Twitter/TwitterProtocolManager.cs
+++ b/src/Engine-Twitter/Protocols/Twitter/TwitterProtocolManager.cs
@@ -1687,7 +1687,7 @@ namespace Smuxi.Engine
lock (StatusIndex) {
var slot = ++StatusIndexOffset;
if (slot > StatusIndex.Length) {
- StatusIndexOffset = 0;
+ StatusIndexOffset = 1;
slot = 1;
}
StatusIndex[slot - 1] = status;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]