--- 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;