Changeset 34 for Include/basic


Ignore:
Timestamp:
Dec 24, 2006, 12:30:24 AM (18 years ago)
Author:
イグトランス (egtra)
Message:

String.LengthのPrivate化に対応する変更

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/basic/prompt.sbp

    r17 r34  
    461461                Dim pTempStr As *String
    462462                pTempStr=_System_InputDataPtr[i] As *String
    463 
    464                 pTempStr->Length=i3
    465                 pTempStr->Chars=_System_realloc(pTempStr->Chars,pTempStr->Length+1)
    466                 memcpy(pTempStr->Chars,buf.Chars,pTempStr->Length)
    467                 pTempStr->Chars[pTempStr->Length]=0
     463                pTempStr->ReSize(i3)
     464                memcpy(pTempStr->Chars, buf.Chars, pTempStr->Length)
     465                pTempStr->Chars[pTempStr->Length] = 0
    468466        End Select
    469467
Note: See TracChangeset for help on using the changeset viewer.