Skip to content

Commit 7e007cd

Browse files
committed
Fix for Windows.
1 parent 28d23af commit 7e007cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/win/win_ui.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace WindowsUi
6767
DeleteObject( hPen );
6868
}
6969

70-
for ( std::vector < UiWindowWin::EllipseToDraw >::const_iterator ellipse = _window->_ellipse.cbegin(); ellipse != _window->_ellipse.cend(); ++ellipse ) {
70+
for ( std::vector<UiWindowWin::EllipseToDraw>::const_iterator ellipse = _window->_ellipses.cbegin(); ellipse != _window->_ellipses.cend(); ++ellipse ) {
7171
const int left = static_cast<int>( ellipse->topLeft.x * xFactor );
7272
const int top = static_cast<int>( ellipse->topLeft.y * yFactor );
7373
const int right = static_cast<int>( ( ellipse->topLeft.x + width ) * xFactor );
@@ -277,7 +277,7 @@ void UiWindowWin::drawLine( const Point2d & start, const Point2d & end, const Pa
277277
void UiWindowWin::drawEllipse( const Point2d & center, double xRadius, double yRadius, const PaintColor & color )
278278
{
279279
const Point topLeft( center.x - xRadius, center.y - yRadius );
280-
_ellipse.emplace_back( topLeft, xRadius * 2, yRadius * 2, color );
280+
_ellipses.emplace_back( topLeft, xRadius * 2, yRadius * 2, color );
281281

282282
_display();
283283
}

0 commit comments

Comments
 (0)