Mercurial > MadButterfly
diff src/redraw_man.c @ 771:01b514800fbe
Fix logic error of checking clear flag for paint.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 29 Aug 2010 19:06:24 +0800 |
parents | 7c73fbc8d700 |
children | 5aca6024b147 |
line wrap: on
line diff
--- a/src/redraw_man.c Sun Aug 29 18:48:20 2010 +0800 +++ b/src/redraw_man.c Sun Aug 29 19:06:24 2010 +0800 @@ -889,7 +889,7 @@ shape_t *shape; if(rdman_is_dirty(rdman)) { - if(!(paint->flags & PNTF_FREE)) + if(paint->flags & PNTF_FREE) return ERR; add_free_obj(rdman, paint, (free_func_t)rdman_paint_free); paint->flags |= PNTF_FREE;