From: bernie Date: Tue, 24 Aug 2004 16:53:10 +0000 (+0000) Subject: Use new-style config macros. X-Git-Tag: 1.0.0~1076 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1d1b0cb5a318dfbb2248d81ec34c00375be025db;p=bertos.git Use new-style config macros. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@165 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/mware/gfx.c b/mware/gfx.c index f4b0da33..9f0079db 100755 --- a/mware/gfx.c +++ b/mware/gfx.c @@ -16,6 +16,9 @@ /* * $Log$ + * Revision 1.4 2004/08/24 16:53:10 bernie + * Use new-style config macros. + * * Revision 1.3 2004/08/04 03:16:59 bernie * Switch to new DevLib CONFIG_ convention. * @@ -93,7 +96,7 @@ void gfx_DrawLine(Bitmap *bm, coord_t x1, coord_t y1, coord_t x2, coord_t y2) int x, y, e, len, adx, ady, signx, signy; -#ifdef CONFIG_GFX_CLIPPING +#if CONFIG_GFX_CLIPPING /* FIXME: broken */ #define XMIN 0 @@ -149,7 +152,7 @@ void gfx_DrawLine(Bitmap *bm, coord_t x1, coord_t y1, coord_t x2, coord_t y2) #undef XMAX #undef YMAX -#endif /* CONFIG_GRAPH_CLIPPING */ +#endif /* CONFIG_GFX_CLIPPING */ if (x2 > x1)