+ call Xft-initializers if WITH_XFT is defined
This commit is contained in:
parent
bd39b49201
commit
db7062db2f
8
c/main.c
8
c/main.c
|
@ -1,14 +1,20 @@
|
|||
#include "scheme48.h"
|
||||
|
||||
extern void scx_init_xlib();
|
||||
extern void scx_xft_init();
|
||||
/*extern void scx_init_xpm();*/
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
s48_add_external_init(scx_init_xlib);
|
||||
|
||||
#ifdef WITH_XFT
|
||||
s48_add_external_init(scx_xft_init);
|
||||
#endif
|
||||
/*s48_add_external_init(scx_init_xpm);*/
|
||||
|
||||
return s48_main(10000000, 64000,
|
||||
SCSHIMAGE,
|
||||
--argc, ++argv);
|
||||
|
||||
--argc, ++argv);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue