summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fl_line_style.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx
index 21ee5b424..5a27b216b 100644
--- a/src/fl_line_style.cxx
+++ b/src/fl_line_style.cxx
@@ -27,7 +27,7 @@ void fl_line_style(int style, int width, char* dashes) {
}
HPEN oldpen = (HPEN)SelectObject(fl_gc, newpen);
DeleteObject(oldpen);
- fl_current_xmap.pen = newpen;
+ fl_current_xmap->pen = newpen;
#else
int ndashes = dashes ? strlen(dashes) : 0;
// emulate the WIN32 dash patterns on X