OSDN Git Service

検索が動作しなくなっていた問題の修正
authorEgtra <yusuke.ichinohe@gmail.com>
Sat, 24 Mar 2012 15:04:30 +0000 (00:04 +0900)
committerEgtra <yusuke.ichinohe@gmail.com>
Sat, 24 Mar 2012 15:04:30 +0000 (00:04 +0900)
C#書き換え時の誤り

OpenTween/Tween.cs

index 76ed918..59070ff 100644 (file)
@@ -5667,7 +5667,7 @@ namespace OpenTween
                     try
                     {
                         _search = new Regex(_word, regOpt);
-                        for (int idx = cidx; idx == toIdx; idx += stp)
+                        for (int idx = cidx; idx <= toIdx; idx += stp)
                         {
                             PostClass post;
                             try
@@ -5697,7 +5697,7 @@ namespace OpenTween
                 else
                 {
                     // 通常検索
-                    for (int idx = cidx; idx == toIdx; idx += stp)
+                    for (int idx = cidx; idx <= toIdx; idx += stp)
                     {
                         PostClass post;
                         try