diff options
Diffstat (limited to 'dw/fltkplatform.cc')
-rw-r--r-- | dw/fltkplatform.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/fltkplatform.cc b/dw/fltkplatform.cc index 0b7ee2e9..f5d686c4 100644 --- a/dw/fltkplatform.cc +++ b/dw/fltkplatform.cc @@ -19,6 +19,7 @@ #include <stdio.h> +#include "dlib/dlib.h" #include "../lout/msg.h" #include "../lout/debug.hh" #include "fltkcore.hh" @@ -145,7 +146,7 @@ void FltkFont::initSystemFonts () int k = Fl::set_fonts ("-*-iso10646-1"); for (int i = 0; i < k; i++) { int t; - char *name = strdup (Fl::get_font_name ((Fl_Font) i, &t)); + char *name = dStrdup (Fl::get_font_name ((Fl_Font) i, &t)); // normalize font family names (strip off "bold", "italic") if (t & FL_ITALIC) |