[macruby-changes] [3507] MacRuby/trunk/object.c
source_changes at macosforge.org
source_changes at macosforge.org
Thu Feb 11 22:02:08 PST 2010
Revision: 3507
http://trac.macosforge.org/projects/ruby/changeset/3507
Author: lsansonetti at apple.com
Date: 2010-02-11 22:02:08 -0800 (Thu, 11 Feb 2010)
Log Message:
-----------
fixed style
Modified Paths:
--------------
MacRuby/trunk/object.c
Modified: MacRuby/trunk/object.c
===================================================================
--- MacRuby/trunk/object.c 2010-02-12 06:01:26 UTC (rev 3506)
+++ MacRuby/trunk/object.c 2010-02-12 06:02:08 UTC (rev 3507)
@@ -122,8 +122,7 @@
static VALUE
rb_obj_equal(VALUE obj1, SEL sel, VALUE obj2)
{
- if (obj1 == obj2) return Qtrue;
- return Qfalse;
+ return obj1 == obj2 ? Qtrue : Qfalse;
}
/*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100211/4e8dc87a/attachment-0001.html>
More information about the macruby-changes
mailing list