[前][次][番号順一覧][スレッド一覧]

ruby-changes:25677

From: nagachika <ko1@a...>
Date: Mon, 19 Nov 2012 22:31:38 +0900 (JST)
Subject: [ruby-changes:25677] nagachika:r37734 (trunk): * vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.

nagachika	2012-11-19 22:31:26 +0900 (Mon, 19 Nov 2012)

  New Revision: 37734

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=37734

  Log:
    * vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.

  Modified files:
    trunk/vm_backtrace.c

Index: vm_backtrace.c
===================================================================
--- vm_backtrace.c	(revision 37733)
+++ vm_backtrace.c	(revision 37734)
@@ -698,14 +698,14 @@
 }
 
 static VALUE
-vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_deafult, int lev_plus, int to_str)
+vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_default, int lev_plus, int to_str)
 {
     VALUE level, vn;
     int lev, n;
 
     rb_scan_args(argc, argv, "02", &level, &vn);
 
-    lev = NIL_P(level) ? lev_deafult : NUM2INT(level);
+    lev = NIL_P(level) ? lev_default : NUM2INT(level);
 
     if (NIL_P(vn)) {
 	n = 0;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]