Mercurial > MadButterfly
diff src/paint.c @ 147:995ee8fd5f1a
Use local static variable to hold position array to reduce using malloc().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 25 Sep 2008 10:10:32 +0800 |
parents | e96a584487af |
children | 6ce68c1f7405 |
line wrap: on
line diff
--- a/src/paint.c Thu Sep 25 09:53:05 2008 +0800 +++ b/src/paint.c Thu Sep 25 10:10:32 2008 +0800 @@ -13,7 +13,7 @@ redraw_man_t *rdman; } paint_color_t; -int paint_color_size = sizeof(paint_color_t); +int _paint_color_size = sizeof(paint_color_t); static void paint_color_prepare(paint_t *paint, cairo_t *cr) {