From 24a790a7dc2c4c4d03c96bdf90ca27a8c1f65c0b Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Fri, 12 Apr 2024 19:53:26 -0400 Subject: [PATCH] Don't compare against the wrong type Technically this is still wrong because of doubles.. --- common/plotters/HPGL_plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/plotters/HPGL_plotter.cpp b/common/plotters/HPGL_plotter.cpp index 806ddf0905..6b4621f9d7 100644 --- a/common/plotters/HPGL_plotter.cpp +++ b/common/plotters/HPGL_plotter.cpp @@ -305,7 +305,7 @@ bool HPGL_PLOTTER::EndPlot() } } - VECTOR2I loc = m_items.begin()->loc_start; + VECTOR2D loc = m_items.begin()->loc_start; bool pen_up = true; LINE_STYLE current_dash = LINE_STYLE::SOLID; int current_pen = m_penNumber;