summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-09-30 18:35:40 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-09-30 18:35:40 +0000
commiteb9a83b3483608286be0a9ead6b98938d21370f3 (patch)
tree59cd2a485d3f2a194583344916468f63bfcba78b /src
parentaa3657817c590c95d1621d5ae80cfec024340729 (diff)
fl_line_style() didn't use the same default cap and join options
for WIN32 and X11. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/fl_line_style.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx
index 0d34a29f9..a9a5a5d83 100644
--- a/src/fl_line_style.cxx
+++ b/src/fl_line_style.cxx
@@ -7,8 +7,8 @@
void fl_line_style(int style, int width, char* dashes) {
#ifdef WIN32
- static DWORD Cap[4]= {PS_ENDCAP_ROUND, PS_ENDCAP_FLAT, PS_ENDCAP_ROUND, PS_ENDCAP_SQUARE};
- static DWORD Join[4]={PS_JOIN_ROUND, PS_JOIN_MITER, PS_JOIN_ROUND, PS_JOIN_BEVEL};
+ static DWORD Cap[4]= {PS_ENDCAP_FLAT, PS_ENDCAP_FLAT, PS_ENDCAP_ROUND, PS_ENDCAP_SQUARE};
+ static DWORD Join[4]={PS_JOIN_MITER, PS_JOIN_MITER, PS_JOIN_ROUND, PS_JOIN_BEVEL};
int s1 = PS_GEOMETRIC | Cap[(style>>8)&3] | Join[(style>>12)&3];
DWORD a[16]; int n = 0;
if (dashes && dashes[0]) {