[Pkg] Rio: File-Base-kph.28.mcz
squeak-dev-noreply at lists.squeakfoundation.org
squeak-dev-noreply at lists.squeakfoundation.org
Tue May 12 14:47:34 UTC 2009
A new version of File-Base was added to project Rio:
http://www.squeaksource.com/Rio/File-Base-kph.28.mcz
==================== Summary ====================
Name: File-Base-kph.28
Author: kph
Time: 12 May 2009, 3:47:31 pm
UUID: f95e5b58-ee98-49cf-80f3-288508fe2b2d
Ancestors: File-Base-kph.27
fix for #extent on windows
=============== Diff against File-Base-kph.27 ===============
Item was changed:
----- Method: FileJpeg>>extent (in category 'as yet unclassified') -----
extent
| ext |
self beBinary reader: [ :str |
ext := JPEGReadWriter2 new imageExtent: (str next: 600)
].
+
+ (ext isNil or: [ (ext x = 0) and: [ ext y = 0 ]]) ifTrue: [ ^ nil ].
-
- ((ext x = 0) and: [ ext y = 0 ]) ifTrue: [ ^ nil ].
^ ext!
More information about the Packages
mailing list