diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fl_font_xft.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_font_xft.cxx b/src/fl_font_xft.cxx index 7e629aa87..dc7aff679 100644 --- a/src/fl_font_xft.cxx +++ b/src/fl_font_xft.cxx @@ -153,7 +153,7 @@ static XftFont* fontopen(const char* name, Fl_Fontsize size, bool core, int angl fl_open_display(); if(!is_xlfd) { // Not an XLFD - open as a XFT style name - XftFont *the_font; // the font we will return; + XftFont *the_font = NULL; // the font we will return; XftPattern *fnt_pat = XftPatternCreate(); // the pattern we will use for matching int slant = XFT_SLANT_ROMAN; int weight = XFT_WEIGHT_MEDIUM; |
