This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
also setting LC_CTYPE only
config
arg@mig29
18 years ago
parent
9bd9ea423e
commit
71b82fb1f6
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
draw.c
+ 1
- 1
draw.c
View File
@ -170,8 +170,8 @@ setfont(const char *fontstr) {
char
*
*
missing
,
*
def
;
char
*
*
missing
,
*
def
;
int
i
,
n
;
int
i
,
n
;
setlocale
(
LC_CTYPE
,
"
"
)
;
missing
=
NULL
;
missing
=
NULL
;
setlocale
(
LC_ALL
,
"
"
)
;
if
(
dc
.
font
.
set
)
if
(
dc
.
font
.
set
)
XFreeFontSet
(
dpy
,
dc
.
font
.
set
)
;
XFreeFontSet
(
dpy
,
dc
.
font
.
set
)
;
dc
.
font
.
set
=
XCreateFontSet
(
dpy
,
fontstr
,
&
missing
,
&
n
,
&
def
)
;
dc
.
font
.
set
=
XCreateFontSet
(
dpy
,
fontstr
,
&
missing
,
&
n
,
&
def
)
;
Write
Preview
Loading…
Cancel
Save