--- psiconv/trunk/program/extra/empty.c 2000/12/31 01:36:30 88 +++ psiconv/trunk/program/extra/empty.c 2003/12/13 23:26:37 180 @@ -20,6 +20,7 @@ #include #include +#include void help(void) { @@ -34,6 +35,8 @@ psiconv_buffer buf; psiconv_file psionfile; psiconv_file_type_t type=0; + psiconv_config config; + if (argc < 3) help(); @@ -46,9 +49,11 @@ help(); } + config = psiconv_config_default(); + psiconv_config_read(NULL,&config); psionfile = psiconv_empty_file(type); - if (psiconv_write(&buf,psionfile)) { + if (psiconv_write(config,&buf,psionfile)) { fprintf(stderr,"Generate error\n"); exit(1); }