DisplaySurface.st
branchjv
changeset 7311 9ca5a89f4805
parent 7287 1e2a3258dd8a
parent 7302 bc00d96fd11f
child 7315 aed1314a2448
--- a/DisplaySurface.st	Wed Apr 20 09:06:30 2016 +0100
+++ b/DisplaySurface.st	Thu Apr 21 08:01:58 2016 +0100
@@ -1014,6 +1014,8 @@
 
     |oldPaint org patternOffsetX patternOffsetY|
 
+    viewBackground isNil ifTrue:[^ self]. "/ how can this happen?
+
     viewBackground isColor ifFalse:[
 	viewBackground isViewBackground ifTrue:[
 	    oldPaint := self paint.