]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/ui/gadgets/worlds/worlds.factor
basis: ERROR: changes.
[factor.git] / basis / ui / gadgets / worlds / worlds.factor
index f4b494fa3f0eb8271daff0eaa21538ac7a313585..961f9bc7666f209db6dcaf4787fe42567d89a65a 100644 (file)
@@ -103,7 +103,7 @@ ERROR: no-world-found ;
 
 : find-gl-context ( gadget -- )
     find-world dup
-    [ set-gl-context ] [ no-world-found ] if ;
+    [ set-gl-context ] [ throw-no-world-found ] if ;
 
 : (request-focus) ( child world ? -- )
     pick parent>> pick eq? [