diff src/shift.c @ 202:75ec0124202a

Commit merged between 200 and 201
author wycc@wycc-desktop
date Tue, 09 Dec 2008 23:34:05 +0800
parents 45d9a1e2764d
children 586e50f82c1f
line wrap: on
line diff
--- a/src/shift.c	Sun Dec 07 18:00:06 2008 +0800
+++ b/src/shift.c	Tue Dec 09 23:34:05 2008 +0800
@@ -80,7 +80,7 @@
 
     shift = (mb_shift_t *)malloc(sizeof(mb_shift_t));
     if(shift == NULL)
-	return (mb_action_t *)shift;
+	return NULL;
 
     shift->x = x;
     shift->y = y;