summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-01-21 10:37:42 -0800
committerPavel Roskin <plroskin@gmail.com>2017-01-21 18:20:27 -0800
commit6807b616ed4917e937a1cce8c2dc2f3b9671de30 (patch)
tree51645c4350bdcbb8f4e56db9d08499208772513e /xrdp
parente217e68acbdb4bcb49591402be5d3f0efc76846a (diff)
downloadxrdp-proprietary-6807b616ed4917e937a1cce8c2dc2f3b9671de30.tar.gz
xrdp-proprietary-6807b616ed4917e937a1cce8c2dc2f3b9671de30.zip
Fix incorrect argument to painter_line()
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp_painter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdp/xrdp_painter.c b/xrdp/xrdp_painter.c
index 361a6a74..c25ad66f 100644
--- a/xrdp/xrdp_painter.c
+++ b/xrdp/xrdp_painter.c
@@ -1524,7 +1524,7 @@ xrdp_painter_line(struct xrdp_painter *self,
draw_rect.left, draw_rect.top,
draw_rect.right - draw_rect.left,
draw_rect.bottom - draw_rect.top);
- painter_line(self->painter, &dst_pb, x1, y1, x2, x2,
+ painter_line(self->painter, &dst_pb, x1, y1, x2, y2,
self->pen.width, 0);
xrdp_painter_add_dirty_rect(self, x, y, cx, cy,
&draw_rect);