diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2000-10-17 07:03:41 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2000-10-17 07:03:41 +0000 |
| commit | b56f14d91cec252018bba501376256147ae32807 (patch) | |
| tree | 0920cd9afc78cd0ce2490e352a12da71b0cc59f0 /src/fl_line_style.cxx | |
| parent | a5d75b0fcda62406a8bbb5c2bd335f46a42ade60 (diff) | |
Fl::set_fonts() on WIN32 fixed to work before the first window is shown.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_line_style.cxx')
| -rw-r--r-- | src/fl_line_style.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx index 5a27b216b..0d34a29f9 100644 --- a/src/fl_line_style.cxx +++ b/src/fl_line_style.cxx @@ -18,7 +18,7 @@ void fl_line_style(int style, int width, char* dashes) { s1 |= style & 0xff; // allow them to pass any low 8 bits for style } if ((style || n) && !width) width = 1; // fix cards that do nothing for 0? - static LOGBRUSH penbrush = {BS_SOLID,fl_RGB(),0}; // can this be fl_brush()? + LOGBRUSH penbrush = {BS_SOLID,fl_RGB(),0}; // can this be fl_brush()? HPEN newpen = ExtCreatePen(s1, width, &penbrush, n, n ? a : 0); if (!newpen) { // CET - FIXME - remove this debug fprintf()? |
