diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-07 21:05:06 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-07 21:05:06 +0000 |
commit | fe4c599e099b5302f6ac949077e130cd88ac5de8 (patch) | |
tree | f5712ffea5258c0566a106a4dd7b4caa03edcee6 /time.c | |
parent | 0942811e9a1fb9c92098b891fea0ec32d752db63 (diff) |
merge revision(s) 14883:
* time.c (time_arg): use converted object. [ruby-core:14759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -349,7 +349,7 @@ time_arg(argc, argv, tm, usec) tm->tm_mon = -1; for (i=0; i<12; i++) { if (RSTRING(s)->len == 3 && - strcasecmp(months[i], RSTRING(v[1])->ptr) == 0) { + strcasecmp(months[i], RSTRING(s)->ptr) == 0) { tm->tm_mon = i; break; } |