diff options
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode.c b/transcode.c index 4d32cf705a..5f7f856a33 100644 --- a/transcode.c +++ b/transcode.c @@ -2533,7 +2533,7 @@ rb_econv_prepare_options(VALUE opthash, VALUE *opts, int ecflags) if (NIL_P(opthash)) { *opts = Qnil; - return 0; + return ecflags; } ecflags = econv_opts(opthash, ecflags); |