diff options
author | Michael Jennings <mej@kainx.org> | 2000-11-26 04:59:38 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2000-11-26 04:59:38 +0000 |
commit | f6c6837bf9b512bed4881e8fbf3ee61e7b26d5e1 (patch) | |
tree | a7533a2564e152209b5c2b5c7a950b2f90e91484 /src/command.c | |
parent | 1a4de140ef7b7bbe9fc81243bede63ee03fbb5ae (diff) | |
download | eterm-f6c6837bf9b512bed4881e8fbf3ee61e7b26d5e1.tar.gz |
Minor fix to the patch from the other day.
SVN revision: 3922
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c index 3a3f592..662e703 100644 --- a/src/command.c +++ b/src/command.c @@ -1762,7 +1762,7 @@ init_locale(void) char *locale = NULL; locale = setlocale(LC_ALL, ""); - TermWin.fontset = (XFontSet) -1; + TermWin.fontset = (XFontSet) 0; if (locale == NULL) { print_error("Setting locale failed.\n"); } else { @@ -1776,7 +1776,7 @@ init_locale(void) #else TermWin.fontset = create_fontset(etfonts[def_font_idx], "-misc-fixed-medium-r-semicondensed--13-*-75-*-c-*-iso10646-1"); #endif - if (xim_real_init() != -1) { + if ((TermWin.fontset == (XFontSet) 0) || (xim_real_init() != -1)) { return; } |