diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-19 19:49:39 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-12-19 19:49:39 +0100 |
| commit | 47164bf9541486f3fd7b32c361f1784f4745c2c3 (patch) | |
| tree | eead20270fdf2d5f4f00acaa9debdd1b0b966d35 /src | |
| parent | 4d934e003a55be05416e2b137f73734664a47dce (diff) | |
Fix for issue #344 : New/Delete Type Mismatch on Windows
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index b8dfa57f0..9b972a9f7 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -2684,7 +2684,7 @@ void fl_free_fonts(void) { s = fl_fonts + i; for (f = s->first; f; f = ff) { ff = f->next; - delete f; + delete (Fl_GDI_Font_Descriptor*)f; s->first = ff; } } |
