diff options
Diffstat (limited to 'dw/style.cc')
-rw-r--r-- | dw/style.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/style.cc b/dw/style.cc index f362710e..5d0bcbe3 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -23,6 +23,7 @@ #include <ctype.h> #include <math.h> +#include "dlib/dlib.h" #include "core.hh" #include "../lout/msg.h" @@ -426,7 +427,7 @@ Font::~Font () void Font::copyAttrs (FontAttrs *attrs) { - name = strdup (attrs->name); + name = dStrdup (attrs->name); size = attrs->size; weight = attrs->weight; style = attrs->style; |