Changeset 458 for trunk/Include


Ignore:
Timestamp:
Mar 7, 2008, 5:30:40 AM (17 years ago)
Author:
dai
Message:

サイズが0のメモリオブジェクトのHitTestに失敗してしまう問題を修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/system/gc.sbp

    r449 r458  
    449449        Dim i As Long
    450450        For i=0 To ELM(countOfMemoryObjects)
    451             If (pMemoryObjects[i].ptr As LONG_PTR)<=(pSample As LONG_PTR) and (pSample As LONG_PTR)<((pMemoryObjects[i].ptr As LONG_PTR)+pMemoryObjects[i].size) Then
     451            If (pMemoryObjects[i].ptr As LONG_PTR)<=(pSample As LONG_PTR) and (pSample As LONG_PTR)<=((pMemoryObjects[i].ptr As LONG_PTR)+pMemoryObjects[i].size) Then
    452452                Return i
    453453            End If
Note: See TracChangeset for help on using the changeset viewer.