diff options
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -785,7 +785,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt) } } else if (strncmp("encoding=", s, 9) == 0) { - if (*(s += 9)) goto noencoding; + if (!*(s += 9)) goto noencoding; goto encoding; } else if (strcmp("version", s) == 0) |