From 6361d702ed5a10512a5c6cc259778f025c7aa189 Mon Sep 17 00:00:00 2001 From: Kimura Youichi Date: Wed, 28 Mar 2012 00:36:20 +0900 Subject: [PATCH] =?utf8?q?=E9=96=A2=E9=80=A3=E3=82=B9=E3=83=86=E3=83=BC?= =?utf8?q?=E3=82=BF=E3=82=B9=E9=96=93=E3=81=AE=E7=A7=BB=E5=8B=95=E3=81=AE?= =?utf8?q?=E3=82=B7=E3=83=A7=E3=83=BC=E3=83=88=E3=82=AB=E3=83=83=E3=83=88?= =?utf8?q?=E3=82=AD=E3=83=BC=E3=81=8C=E5=8B=95=E4=BD=9C=E3=81=97=E3=81=AA?= =?utf8?q?=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- OpenTween/Tween.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenTween/Tween.cs b/OpenTween/Tween.cs index 59070ff2..2a44f0e2 100644 --- a/OpenTween/Tween.cs +++ b/OpenTween/Tween.cs @@ -7262,7 +7262,7 @@ namespace OpenTween if (_anchorPost == null) return; } - for (int idx = fIdx; idx == toIdx; idx += stp) + for (int idx = fIdx; ; idx += stp) { PostClass post = _statuses[_curTab.Text, idx]; if (post.ScreenName == _anchorPost.ScreenName || @@ -7278,6 +7278,8 @@ namespace OpenTween _curList.EnsureVisible(idx); break; } + + if (idx == toIdx) break; } } -- 2.11.0