aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index d1f02e69f8..ab26e245a8 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1448,7 +1448,7 @@ verbose_setter(VALUE val, ID id, VALUE *variable)
static VALUE
opt_W_getter(VALUE val, ID id, VALUE *variable)
{
- switch (*variable) {
+ switch (ruby_verbose) {
case Qnil:
return INT2FIX(0);
case Qfalse: