aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
authormarkt <markt>2007-07-31 23:20:06 (GMT)
committermarkt <markt>2007-07-31 23:20:06 (GMT)
commit9bc606c9368da6f98e166b58d76d29dc8d7e9a64 (patch)
tree8f1d56eafc58da445b346b8e10c7b92894ddf6fd /src/FbTk
parent10001bb941c263fa4c138869b2d88fa78e409036 (diff)
downloadfluxbox-9bc606c9368da6f98e166b58d76d29dc8d7e9a64.zip
fluxbox-9bc606c9368da6f98e166b58d76d29dc8d7e9a64.tar.bz2
use some decorations on applications' torn menus, and fix restart without an argument
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/XmbFontImp.cc4
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, ...) {
115XFontSet createFontSet(const char *fontname, bool& utf8mode) { 115XFontSet 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