diff options
| author | [email protected] <[email protected]> | 2012-07-20 12:37:56 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-07-20 12:37:56 +0000 |
| commit | 92a50c838d8ca2ae4027fd77b71db12fb52d86e3 (patch) | |
| tree | 08cb5a9273c78c36df97f48eea17eb2e1034a497 /components/rtgui/common/dc.c | |
| parent | c2868be90d0f1f43ee13bacdb1c0f55a9fe34276 (diff) | |
sync with RTGUI c074ff2898b9e
Full log is in GitHub.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2222 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/common/dc.c')
| -rw-r--r-- | components/rtgui/common/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/rtgui/common/dc.c b/components/rtgui/common/dc.c index fa8b85225a..97e6fcaf5c 100644 --- a/components/rtgui/common/dc.c +++ b/components/rtgui/common/dc.c @@ -138,12 +138,12 @@ void rtgui_dc_draw_vertical_line(struct rtgui_dc* dc, int x, int y1, int y2) color = RTGUI_DC_FC(dc); RTGUI_DC_FC(dc) = dark_grey; - rtgui_dc_draw_hline(dc, x, y1, y2); + rtgui_dc_draw_vline(dc, x, y1, y2); x ++; RTGUI_DC_FC(dc) = high_light; - rtgui_dc_draw_hline(dc, x, y1, y2); + rtgui_dc_draw_vline(dc, x, y1, y2); /* restore color */ RTGUI_DC_FC(dc) = color; |
