summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-26 05:25:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-26 05:25:08 +0000
commit7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1 (patch)
tree74b2f2b99629231ad8cfddea87da2157ccd6ccf3 /util.c
parent331b98144d7ed54aca26db06e421df044824447a (diff)
downloadruby-7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1.tar.gz
ruby-7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1.tar.xz
ruby-7b6faae22e4e38167ad8ab6733dbc1beacd2ffa1.zip
* removed spaces just before tabs.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index df20a1cd3..5ebc5f3e8 100644
--- a/util.c
+++ b/util.c
@@ -291,7 +291,7 @@ ruby_add_suffix(VALUE str, const char *suffix)
while ((*t = *s) && *s != '.') {
baselen++;
if (*s == '\\' || *s == '/') baselen = 0;
- s++; t++;
+ s++; t++;
}
p = t;
@@ -309,7 +309,7 @@ ruby_add_suffix(VALUE str, const char *suffix)
ext[++extlen] = '\0';
}
else if (baselen < 8) {
- *p++ = *suffix;
+ *p++ = *suffix;
}
else if (ext[3] != *suffix) {
ext[3] = *suffix;