From f41abf9868b993d15bf8eeffebcb6dabeb778826 Mon Sep 17 00:00:00 2001 From: Liu Chao Date: Sun, 31 Mar 2013 19:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=BE=B9=E6=A1=86=E7=BB=98?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/draw/border.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/draw/border.c b/src/draw/border.c index 84904ffb..ceba7a67 100755 --- a/src/draw/border.c +++ b/src/draw/border.c @@ -970,7 +970,7 @@ LCUI_EXPORT(int) Graph_DrawBorder( LCUI_Graph *des, LCUI_Border border ) end.x = des->width - border.bottom_right_radius; Graph_DrawHorizLine( des, border.top_color, border.bottom_width, start, end.x ); /* 绘制左边的线 */ - start.y = 0; + start.x = start.y = 0; end.y = des->height - border.bottom_left_radius; Graph_DrawVertiLine( des, border.left_color, border.left_width, start, end.y ); /* 绘制右边的线 */