Revision
2820
Author
lsansonetti@apple.com
Date
2009-10-15 17:51:02 -0700 (Thu, 15 Oct 2009)

Log Message

fixed an exception message

Modified Paths

Diff

Modified: MacRuby/trunk/bridgesupport.cpp (2819 => 2820)


--- MacRuby/trunk/bridgesupport.cpp	2009-10-15 23:51:16 UTC (rev 2819)
+++ MacRuby/trunk/bridgesupport.cpp	2009-10-16 00:51:02 UTC (rev 2820)
@@ -651,8 +651,8 @@
     if (strcmp(RSTRING_PTR(ptr->type), type + 1) != 0) {
 	rb_raise(rb_eTypeError,
 		"expected instance of Pointer of type `%s', got `%s'",
-		RSTRING_PTR(ptr->type),
-		type + 1);
+		type + 1,
+		RSTRING_PTR(ptr->type));
     }
 
     return ptr->val;