minor fix
This commit is contained in:
parent
f44b282b00
commit
537c89c9c4
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
//$Id: Font.cc,v 1.1 2002/03/21 10:51:48 fluxgen Exp $
|
//$Id: Font.cc,v 1.2 2002/03/21 11:05:41 fluxgen Exp $
|
||||||
#include "Font.hh"
|
#include "Font.hh"
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
#include <iostream> //for debug msg
|
#include <iostream> //for debug msg
|
||||||
|
@ -138,7 +138,7 @@ XFontSet Font::createFontSet(Display *display, const char *fontname) {
|
||||||
if (nmissing) XFreeStringList(missing);
|
if (nmissing) XFreeStringList(missing);
|
||||||
|
|
||||||
setlocale(LC_CTYPE, "C");
|
setlocale(LC_CTYPE, "C");
|
||||||
fs = XCreateFontSet(m_display, fontname,
|
fs = XCreateFontSet(display, fontname,
|
||||||
&missing, &nmissing, &def);
|
&missing, &nmissing, &def);
|
||||||
setlocale(LC_CTYPE, "");
|
setlocale(LC_CTYPE, "");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue