diff --git a/cde/programs/dtinfo/dtinfo/src/OnlineRender/FeatureSupport.C b/cde/programs/dtinfo/dtinfo/src/OnlineRender/FeatureSupport.C index bc047b653..0c82adfe7 100644 --- a/cde/programs/dtinfo/dtinfo/src/OnlineRender/FeatureSupport.C +++ b/cde/programs/dtinfo/dtinfo/src/OnlineRender/FeatureSupport.C @@ -621,7 +621,7 @@ CanvasRenderer::_dofont(const FeatureSet &fs, Symbol** symbols) // if we still can't find one go with whatever. else { - xlfd = (char*)"-*-*-*-*-*-*-*-*-*-*-*-*-*"; + xlfd = strdup("-*-*-*-*-*-*-*-*-*-*-*-*-*"); } #ifdef FONT_DEBUG fprintf(stderr, "resulting in \"%s\".\n", xlfd);