Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
xmbase-grok
xmbase-grok-1.5-fonts.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xmbase-grok-1.5-fonts.diff of Package xmbase-grok
--- src/main.c +++ src/main.c @@ -386,7 +386,7 @@ static void init_fonts(void) { int i; - char *f, class_name[256]; + char *f, *fnt, class_name[256]; for (i=0; i < NFONTS; i++) { switch (i) { @@ -403,10 +403,11 @@ strcpy(class_name, f); class_name[0] &= ~('a'^'A'); get_rsrc(&f, f, class_name, XtRString); - if (!(font[i] = XLoadQueryFont(display, f))) - fatal("can't load font \"%s\"\n", f); + fnt = strsep(&f, ",="); + if (!(font[i] = XLoadQueryFont(display, fnt))) + fatal("can't load font \"%s\"\n", fnt); if (!(fontlist[i] = XmFontListCreate(font[i], "cset"))) - fatal("can't create fontlist \"%s\"\n", f); + fatal("can't create fontlist \"%s\"\n", fnt); } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor