]> Nishi Git Mirror - gwion.git/commitdiff
:art: kinda typo
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 24 May 2020 20:15:08 +0000 (22:15 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Sun, 24 May 2020 20:15:08 +0000 (22:15 +0200)
src/lib/func.c

index a1084f3a832a1fe9ba95637b95a5ff5870c2150d..b579a9db729896699f9f34359dcd8a945850745a 100644 (file)
@@ -273,7 +273,7 @@ static OP_CHECK(opck_spork) {
       ((Exp_Unary*)unary)->exp = NULL;
       ((Exp_Unary*)unary)->code = code;
     }
-    return is_spork ? et_shred : et_fork];
+    return env->gwion->type[is_spork ? et_shred : et_fork];
   }
   if(unary->code) {
     ++env->scope->depth;