+ call Xft-initializers if WITH_XFT is defined

This commit is contained in:
eknauel 2003-10-16 16:01:59 +00:00
parent bd39b49201
commit db7062db2f
1 changed files with 7 additions and 1 deletions

View File

@ -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);
}