[macruby-changes] [2566] MacRuby/trunk/gcd.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 18 16:33:35 PDT 2009


Revision: 2566
          http://trac.macosforge.org/projects/ruby/changeset/2566
Author:   lsansonetti at apple.com
Date:     2009-09-18 16:33:35 -0700 (Fri, 18 Sep 2009)
Log Message:
-----------
fixed a typo, reported by Ernest Prabhakar

Modified Paths:
--------------
    MacRuby/trunk/gcd.c

Modified: MacRuby/trunk/gcd.c
===================================================================
--- MacRuby/trunk/gcd.c	2009-09-18 23:24:48 UTC (rev 2565)
+++ MacRuby/trunk/gcd.c	2009-09-18 23:33:35 UTC (rev 2566)
@@ -757,7 +757,7 @@
     rb_source_t *src = RSource(self);
     rb_vm_block_t *the_block = rb_vm_current_block();
     if (the_block == NULL) {
-        rb_raise(rb_eArgError, "on_event() requires a block argument");
+        rb_raise(rb_eArgError, "on_cancellation() requires a block argument");
     }
     GC_WB(&src->cancel_handler, the_block);
     dispatch_set_context(src->source, (void*)self); // retain this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090918/b9815ad9/attachment-0001.html>


More information about the macruby-changes mailing list