aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Font.cc4
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 }