diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-08-27 16:52:20 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-08-27 16:52:20 +0200 |
| commit | 5fae7b36bb98b99a7b5b84e42c702945ff073983 (patch) | |
| tree | 06ac0ea853d8153087cef93d15f07d427a4b61d7 /src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx | |
| parent | ec05f78d98d8e38ea34eb1bd73647fa5b8b35f81 (diff) | |
Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052)
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx')
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx index 8e56a7cc1..8b2eb47fb 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_line_style.cxx @@ -58,6 +58,8 @@ void Fl_GDI_Graphics_Driver::line_style_unscaled(int style, int width, char* das DeleteObject(oldpen); DeleteObject(fl_current_xmap->pen); fl_current_xmap->pen = newpen; + is_solid_ = ((style & 0xff) == FL_SOLID && (!dashes || !*dashes)); + style_ = style; } #if USE_GDIPLUS |
