summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_ComboBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_ComboBox.cpp')
-rw-r--r--fpdfsdk/pdfwindow/PWL_ComboBox.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_ComboBox.cpp b/fpdfsdk/pdfwindow/PWL_ComboBox.cpp
index adab4e7998..b9e96b2bf1 100644
--- a/fpdfsdk/pdfwindow/PWL_ComboBox.cpp
+++ b/fpdfsdk/pdfwindow/PWL_ComboBox.cpp
@@ -147,10 +147,10 @@ void CPWL_CBButton::DrawThisAppearance(CFX_RenderDevice* pDevice,
IsFloatBigger(rectWnd.top - rectWnd.bottom,
PWL_CBBUTTON_TRIANGLE_HALFLEN)) {
CFX_PathData path;
- path.AppendPoint(pt1.x, pt1.y, FXPT_TYPE::MoveTo, false);
- path.AppendPoint(pt2.x, pt2.y, FXPT_TYPE::LineTo, false);
- path.AppendPoint(pt3.x, pt3.y, FXPT_TYPE::LineTo, false);
- path.AppendPoint(pt1.x, pt1.y, FXPT_TYPE::LineTo, false);
+ path.AppendPoint(pt1, FXPT_TYPE::MoveTo, false);
+ path.AppendPoint(pt2, FXPT_TYPE::LineTo, false);
+ path.AppendPoint(pt3, FXPT_TYPE::LineTo, false);
+ path.AppendPoint(pt1, FXPT_TYPE::LineTo, false);
pDevice->DrawPath(&path, pUser2Device, nullptr,
CPWL_Utils::PWLColorToFXColor(PWL_DEFAULT_BLACKCOLOR,