|
|
commit 47164bf9541486f3fd7b32c361f1784f4745c2c3
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Sun Dec 19 19:49:39 2021 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Sun Dec 19 19:49:39 2021 +0100
Fix for issue #344 : New/Delete Type Mismatch on Windows
src/Fl_win32.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/Fl_win32.cxx src/Fl_win32.cxx
index b8dfa57..9b972a9 100644
--- src/Fl_win32.cxx
+++ 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;
}
}
[ Direct Link to Message ] | |
|
| |