• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

OpenTweenのfork


Commit MetaInfo

修訂ea32d9445c6f39756ce19aafa03e5bafde7f0538 (tree)
時間2012-02-18 23:19:55
作者kiri_feather <kiri_feather@user...>
CommiterKimura Youichi

Log Message

FiltersClass.IsHitでNullRef出る場合があるので暫定対処。要原因究明

Change Summary

差異

--- a/Tween/StatusDictionary.vb
+++ b/Tween/StatusDictionary.vb
@@ -1947,18 +1947,24 @@ Public NotInheritable Class TabClass
19471947 '全フィルタ評価(優先順位あり)
19481948 SyncLock Me._lockObj
19491949 For Each ft As FiltersClass In _filters
1950- Select Case ft.IsHit(post) 'フィルタクラスでヒット判定
1951- Case HITRESULT.None
1952- Case HITRESULT.Copy
1953- If rslt <> HITRESULT.CopyAndMark Then rslt = HITRESULT.Copy
1954- Case HITRESULT.CopyAndMark
1955- rslt = HITRESULT.CopyAndMark
1956- Case HITRESULT.Move
1957- rslt = HITRESULT.Move
1958- Case HITRESULT.Exclude
1959- rslt = HITRESULT.Exclude
1960- Exit For
1961- End Select
1950+ Try
1951+ Select Case ft.IsHit(post) 'フィルタクラスでヒット判定
1952+ Case HITRESULT.None
1953+ Case HITRESULT.Copy
1954+ If rslt <> HITRESULT.CopyAndMark Then rslt = HITRESULT.Copy
1955+ Case HITRESULT.CopyAndMark
1956+ rslt = HITRESULT.CopyAndMark
1957+ Case HITRESULT.Move
1958+ rslt = HITRESULT.Move
1959+ Case HITRESULT.Exclude
1960+ rslt = HITRESULT.Exclude
1961+ Exit For
1962+ End Select
1963+ Catch ex As NullReferenceException
1964+ 'IsHitでNullRef出る場合あり。暫定対応
1965+ TraceOut("IsHitでNullRef: " + ft.ToString)
1966+ rslt = HITRESULT.None
1967+ End Try
19621968 Next
19631969 End SyncLock
19641970