#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Tue, 07 Feb 2017 14:16:43 +0100
changeset 7842 603dcfcd52a7
parent 7841 e65319f4ac8d
child 7843 c6576fab3e80
#REFACTORING by stefan class: DeviceWorkstation changed: #dispatchModalWhile:
DeviceWorkstation.st
--- a/DeviceWorkstation.st	Tue Feb 07 14:14:07 2017 +0100
+++ b/DeviceWorkstation.st	Tue Feb 07 14:16:43 2017 +0100
@@ -4891,19 +4891,21 @@
      the workstation)
     "
     myFd := self displayFileDescriptor.
-    [aBlock value] whileTrue:[
-	self eventPending ifFalse:[
-	    myFd isNil ifTrue:[
-		OperatingSystem millisecondDelay:50
-	    ] ifFalse:[
-		OperatingSystem selectOn:myFd withTimeOut:50.
-	    ].
-	    Processor evaluateTimeouts.
-	].
-	self eventPending ifTrue:[
-	    self dispatchEvent
-	].
+    aBlock whileTrue:[
+        self eventPending ifFalse:[
+            myFd isNil ifTrue:[
+                OperatingSystem millisecondDelay:50
+            ] ifFalse:[
+                OperatingSystem selectOn:myFd withTimeOut:50.
+            ].
+            Processor evaluateTimeouts.
+        ].
+        self eventPending ifTrue:[
+            self dispatchEvent
+        ].
     ]
+
+    "Modified (format): / 07-02-2017 / 12:50:58 / stefan"
 !
 
 dispatchPendingEvents