mirror of
https://github.com/0intro/wmii
synced 2024-11-23 14:19:48 +03:00
removed strcmp in font.c
This commit is contained in:
parent
d18d7c66f8
commit
b816a09ffc
@ -33,7 +33,7 @@ blitz_loadfont(Display *dpy, BlitzFont *font, char *fontstr)
|
||||
if(font->set)
|
||||
XFreeFontSet(dpy, font->set);
|
||||
font->set = nil;
|
||||
if(!loc || !strcmp(loc, "C") || !strcmp(loc, "POSIX")|| !XSupportsLocale()) {
|
||||
if(!loc || !strncmp(loc, "C", 2) || !strncmp(loc, "POSIX", 6)|| !XSupportsLocale()) {
|
||||
font->set = XCreateFontSet(dpy, fontname, &missing, &n, &def);
|
||||
if(missing) {
|
||||
while(n--)
|
||||
|
Loading…
Reference in New Issue
Block a user