summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-25 04:16:08 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-25 04:16:08 +0000
commit276457dfacd0f79352344d70dc204b2525af1e59 (patch)
treea0b296fe4a84ea6ad6b0f9331f061695c2940292 /dir.c
parent7ec4a44762e63b75120ecc5154a00828c8f31b01 (diff)
fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 403e68b..e2400e5 100644
--- a/dir.c
+++ b/dir.c
@@ -2126,7 +2126,7 @@ dir_s_home(int argc, VALUE *argv, VALUE obj)
const char *u = 0;
rb_check_arity(argc, 0, 1);
- user = (argc > 0) argv[0] : Qnil;
+ user = (argc > 0) ? argv[0] : Qnil;
if (!NIL_P(user)) {
SafeStringValue(user);
rb_must_asciicompat(user);