Changeset 270 for Include/Classes/System


Ignore:
Timestamp:
Jun 2, 2007, 9:34:17 PM (17 years ago)
Author:
OverTaker
Message:

SubStringのバグ修整。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/String.ab

    r268 r270  
    464464            temp.AllocStringBuffer(length)
    465465            memcpy(temp.Chars, VarPtr(Chars[startIndex]), SizeOf (StrChar) * length)
    466             temp.Chars[m_Length] = 0
     466            temp.Chars[length] = 0
    467467            Return temp
    468468        End Function
Note: See TracChangeset for help on using the changeset viewer.