summaryrefslogtreecommitdiff
path: root/components/rtgui/common/dc.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/rtgui/common/dc.c')
-rw-r--r--components/rtgui/common/dc.c4
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;