The Trunk: Graphics-eem.199.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-eem.199.mcz

commits-2
Eliot Miranda uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-eem.199.mcz

==================== Summary ====================

Name: Graphics-eem.199
Author: eem
Time: 21 February 2013, 10:19:44.192 am
UUID: 659cfcf3-6c10-4ef4-bb07-e407c0b1faa2
Ancestors: Graphics-eem.198

Use isNumber in fixing MNU in Smalltalk specialObjectsArray printString.
Point>>printOn: shouldn't assume its inst vars are numbers.

=============== Diff against Graphics-eem.198 ===============

Item was changed:
  ----- Method: Point>>printOn: (in category 'printing') -----
  printOn: aStream
  "The receiver prints on aStream in terms of infix notation."
 
  x printOn: aStream.
  aStream nextPut: $@.
+ (y isNumber and: [y negative]) ifTrue:
- (y isInteger and: [y negative]) ifTrue:
  "Avoid ambiguous @- construct"
  [aStream space].
  y printOn: aStream!