diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/FbTk/XmbFontImp.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/FbTk/XmbFontImp.cc b/src/FbTk/XmbFontImp.cc index 364491f..cea82f8 100644 --- a/src/FbTk/XmbFontImp.cc +++ b/src/FbTk/XmbFontImp.cc | |||
@@ -113,10 +113,8 @@ const char *getFontElement(const char *pattern, char *buf, int bufsiz, ...) { | |||
113 | XFontSet createFontSet(const char *fontname, bool& utf8mode) { | 113 | XFontSet createFontSet(const char *fontname, bool& utf8mode) { |
114 | Display *display = FbTk::App::instance()->display(); | 114 | Display *display = FbTk::App::instance()->display(); |
115 | XFontSet fs; | 115 | XFontSet fs; |
116 | const int FONT_ELEMENT_SIZE=50; | ||
117 | char **missing, *def = "-"; | 116 | char **missing, *def = "-"; |
118 | int nmissing, pixel_size = 0, buf_size = 0; | 117 | int nmissing; |
119 | char weight[FONT_ELEMENT_SIZE], slant[FONT_ELEMENT_SIZE]; | ||
120 | std::string orig_locale = ""; | 118 | std::string orig_locale = ""; |
121 | 119 | ||
122 | #ifdef HAVE_SETLOCALE | 120 | #ifdef HAVE_SETLOCALE |