diff options
author | markt <markt> | 2007-07-31 23:16:05 (GMT) |
---|---|---|
committer | markt <markt> | 2007-07-31 23:16:05 (GMT) |
commit | 8da54ca0eb91e0595b506725369ede0a6426d795 (patch) | |
tree | 444fbcc9849c10764f5bc6f3b71481c6057992a8 /src/FbTk | |
parent | 363764db5b36dbffcc019cec8ffb405d357d7130 (diff) | |
download | fluxbox_paul-8da54ca0eb91e0595b506725369ede0a6426d795.zip fluxbox_paul-8da54ca0eb91e0595b506725369ede0a6426d795.tar.bz2 |
add some decorations to torn menus, and fix restart without an argument
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/XmbFontImp.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/XmbFontImp.cc b/src/FbTk/XmbFontImp.cc index 025f96d..3a45b09 100644 --- a/src/FbTk/XmbFontImp.cc +++ b/src/FbTk/XmbFontImp.cc | |||
@@ -115,7 +115,9 @@ const char *getFontElement(const char *pattern, char *buf, int bufsiz, ...) { | |||
115 | XFontSet createFontSet(const char *fontname, bool& utf8mode) { | 115 | XFontSet createFontSet(const char *fontname, bool& utf8mode) { |
116 | Display *display = FbTk::App::instance()->display(); | 116 | Display *display = FbTk::App::instance()->display(); |
117 | XFontSet fs; | 117 | XFontSet fs; |
118 | char **missing, *def = "-"; | 118 | char **missing; |
119 | const char *constdef = "-"; | ||
120 | char *def = const_cast<char *>(constdef); | ||
119 | int nmissing; | 121 | int nmissing; |
120 | string orig_locale = ""; | 122 | string orig_locale = ""; |
121 | 123 | ||