OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6374a9
)
「未読へジャンプ」機能が正常に動作しない問題を修正 (thanks @malariya_qma !)
author
Kimura Youichi
<kim.upsilon@bucyou.net>
Fri, 9 Mar 2012 14:47:17 +0000
(23:47 +0900)
committer
Kimura Youichi
<kim.upsilon@bucyou.net>
Mon, 12 Mar 2012 15:24:40 +0000
(
00:24
+0900)
参照: https://gist.github.com/
1996583
OpenTween/StatusDictionary.cs
patch
|
blob
|
history
diff --git
a/OpenTween/StatusDictionary.cs
b/OpenTween/StatusDictionary.cs
index
3c04689
..
03eb906
100644
(file)
--- a/
OpenTween/StatusDictionary.cs
+++ b/
OpenTween/StatusDictionary.cs
@@
-1193,7
+1193,7
@@
namespace OpenTween
posts = Tab.Posts;
}
- for (int i = StartIdx;
i < toIdx
; i+= stp)
+ for (int i = StartIdx; ; i+= stp)
{
var id = Tab.GetId(i);
if (id > -1 && !posts[id].IsRead)
@@
-1201,6
+1201,8
@@
namespace OpenTween
Tab.OldestUnreadId = id;
break;
}
+
+ if (i == toIdx) break;
}
}