summaryrefslogtreecommitdiff
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
commit4d786d21e3e80a70554c3fed7aa39e8ec7922b44 (patch)
tree74b2f2b99629231ad8cfddea87da2157ccd6ccf3 /util.c
parentf5202fdbc751a235984dc678976c2fb6b13b0ca2 (diff)
downloadruby-4d786d21e3e80a70554c3fed7aa39e8ec7922b44.tar.gz
* removed spaces just before tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 df20a1cd35..5ebc5f3e87 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;