[squeak-dev] The Trunk: Multilingual-ul.138.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Mar 15 12:35:10 UTC 2011
Levente Uzonyi uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-ul.138.mcz
==================== Summary ====================
Name: Multilingual-ul.138
Author: ul
Time: 15 March 2011, 1:34:45.751 pm
UUID: fb122235-ce4f-a640-b365-9f02566b6159
Ancestors: Multilingual-bf.136
- minor tweak
=============== Diff against Multilingual-bf.136 ===============
Item was changed:
----- Method: MultiByteFileStream>>peek (in category 'public') -----
peek
"Answer what would be returned if the message next were sent to the receiver. If the receiver is at the end, answer nil. "
+ | next state |
+ state := converter saveStateOf: self.
- | next save |
- self atEnd ifTrue: [^ nil].
- save := converter saveStateOf: self.
next := self next.
+ converter restoreStateOf: self with: state.
+ ^next
- converter restoreStateOf: self with: save.
- ^ next.
-
!
More information about the Squeak-dev
mailing list
|