ruby-changes:44959
From: nobu <ko1@a...>
Date: Fri, 9 Dec 2016 11:59:58 +0900 (JST)
Subject: [ruby-changes:44959] nobu:r57032 (trunk): Adjust indent [ci skip]
nobu 2016-12-09 11:59:55 +0900 (Fri, 09 Dec 2016) New Revision: 57032 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57032 Log: Adjust indent [ci skip] Modified files: trunk/load.c Index: load.c =================================================================== --- load.c (revision 57031) +++ load.c (revision 57032) @@ -230,10 +230,10 @@ features_index_add(VALUE feature, VALUE https://github.com/ruby/ruby/blob/trunk/load.c#L230 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. */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/