diff options
author | fluxgen <fluxgen> | 2002-03-21 11:05:41 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-03-21 11:05:41 (GMT) |
commit | 537c89c9c4b9c4cde9593083b8aa187a7df6a1be (patch) | |
tree | 35aec97109c6e9ab6185553f5be170720f768626 /src | |
parent | f44b282b001d2479586215cdc722ce426ca1782a (diff) | |
download | fluxbox_paul-537c89c9c4b9c4cde9593083b8aa187a7df6a1be.zip fluxbox_paul-537c89c9c4b9c4cde9593083b8aa187a7df6a1be.tar.bz2 |
minor fix
Diffstat (limited to 'src')
-rw-r--r-- | src/Font.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Font.cc b/src/Font.cc index 3d516dd..cfd7303 100644 --- a/src/Font.cc +++ b/src/Font.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: Font.cc,v 1.1 2002/03/21 10:51:48 fluxgen Exp $ | 22 | //$Id: Font.cc,v 1.2 2002/03/21 11:05:41 fluxgen Exp $ |
23 | #include "Font.hh" | 23 | #include "Font.hh" |
24 | #include <cstdarg> | 24 | #include <cstdarg> |
25 | #include <iostream> //for debug msg | 25 | #include <iostream> //for debug msg |
@@ -138,7 +138,7 @@ XFontSet Font::createFontSet(Display *display, const char *fontname) { | |||
138 | if (nmissing) XFreeStringList(missing); | 138 | if (nmissing) XFreeStringList(missing); |
139 | 139 | ||
140 | setlocale(LC_CTYPE, "C"); | 140 | setlocale(LC_CTYPE, "C"); |
141 | fs = XCreateFontSet(m_display, fontname, | 141 | fs = XCreateFontSet(display, fontname, |
142 | &missing, &nmissing, &def); | 142 | &missing, &nmissing, &def); |
143 | setlocale(LC_CTYPE, ""); | 143 | setlocale(LC_CTYPE, ""); |
144 | } | 144 | } |