Changeset 660


Ignore:
Timestamp:
Nov 9, 2008, 9:12:01 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

#234の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/Classes/System/IO/StreamReader.ab

    r655 r660  
    148148            Dim charUsed As Long
    149149            Dim byteUsed As Long
     150            Dim completed As Boolean
    150151            decoder.Convert(VarPtr(byteBuf[byteCur]), byteSize - byteCur,
    151152                VarPtr(charBuf[charSize]), charCapacity - charSize,
    152                 byteEof, charUsed, byteUsed, charEof)
     153                byteEof, charUsed, byteUsed, completed)
     154            charEof = byteEof And completed
    153155            byteCur += byteUsed
    154156            charSize += charUsed
Note: See TracChangeset for help on using the changeset viewer.