summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2000-05-17 21:16:42 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2000-05-17 21:16:42 +0000
commitd7f026e02e4bc9eaae845fc0e506a924a9442fcd (patch)
treefd0cfdaafd23233bdcc08135cdb3e00e773c220d /src
parent9743763c7f724957c2632023b477af5b6a690039 (diff)
fl_line_style() used "." instead of "->" for setting the pen.
Added fl_line_style.cxx to the static and DLL library projects. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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