mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b8095e5919
commit
d8761cf251
1 changed files with 3 additions and 3 deletions
6
load.c
6
load.c
|
@ -230,10 +230,10 @@ features_index_add(VALUE feature, VALUE offset)
|
|||
feature_end = feature_str + RSTRING_LEN(feature);
|
||||
|
||||
for (ext = feature_end; ext > feature_str; ext--)
|
||||
if (*ext == '.' || *ext == '/')
|
||||
break;
|
||||
if (*ext == '.' || *ext == '/')
|
||||
break;
|
||||
if (*ext != '.')
|
||||
ext = NULL;
|
||||
ext = NULL;
|
||||
/* Now `ext` points to the only string matching %r{^\.[^./]*$} that is
|
||||
at the end of `feature`, or is NULL if there is no such string. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue