diff src/shape_rect.c @ 196:c234ee745ceb

Start moving to mb_obj_t
author Thinker K.F. Li <thinker@branda.to>
date Tue, 09 Dec 2008 17:34:10 +0800
parents 530bb7728546
children 29e1b2bffe4c
line wrap: on
line diff
--- a/src/shape_rect.c	Wed Nov 19 20:54:27 2008 +0800
+++ b/src/shape_rect.c	Tue Dec 09 17:34:10 2008 +0800
@@ -27,7 +27,7 @@
 
     memset(rect, 0, sizeof(sh_rect_t));
 
-    rect->shape.sh_type = SHT_RECT;
+    MBO_TYPE(rect) = MBO_RECT;
     rect->x = x;
     rect->y = y;
     rect->w = w;