diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-30 07:43:32 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-30 07:43:32 +0000 |
| commit | 6410694b3783276b964e220d6db1a8c88312585a (patch) | |
| tree | 2287e80c180281a6dcfbc6d64d4abd2d7a5ecd63 | |
| parent | e69e041a0fdc93d39f3fcd51201e131b1715228e (diff) | |
| download | ruby-6410694b3783276b964e220d6db1a8c88312585a.tar.gz ruby-6410694b3783276b964e220d6db1a8c88312585a.tar.xz ruby-6410694b3783276b964e220d6db1a8c88312585a.zip | |
* variable.c (rb_class_path): fixed a variable.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 966a7e0df..f5e6ff194 100644 --- a/variable.c +++ b/variable.c @@ -193,7 +193,7 @@ rb_class_path(VALUE klass) if (!NIL_P(path)) return path; if (RCLASS_IV_TBL(klass) && st_lookup(RCLASS_IV_TBL(klass), (st_data_t)tmp_classpath, &n)) { - return path; + return (VALUE)n; } else { const char *s = "Class"; |
