X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=examples%2F01-hello-world.scm;h=4029b7ec23a15c16c577ea99607460cd7d83b769;hp=b480c8934ccbac60ffc0361d3b2253e08649a58d;hb=73e48b7e6472724899af8284491802e950156004;hpb=98052b04792129db97286fdd77ef3b0de8912286 diff --git a/examples/01-hello-world.scm b/examples/01-hello-world.scm index b480c89..4029b7e 100644 --- a/examples/01-hello-world.scm +++ b/examples/01-hello-world.scm @@ -47,7 +47,7 @@ ;; load a Quake2 model (define mesh (get-mesh scene-manager "media/sydney.md2")) -(when (not mesh) +(when (is-empty? mesh) (drop! device) (exit #f))