summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 1d0d62018..0462a1e7e 100644
--- a/eval.c
+++ b/eval.c
@@ -9959,7 +9959,7 @@ static int
rb_thread_switch(n)
int n;
{
- rb_trap_immediate = (curr_thread->flags&0x100)?1:0;
+ rb_trap_immediate = (curr_thread->flags&(1<<8))?1:0;
switch (n) {
case 0:
return 0;