--- psiconv/trunk/program/extra/rewrite.c 2003/12/13 18:23:16 179 +++ psiconv/trunk/program/extra/rewrite.c 2003/12/13 23:26:37 180 @@ -38,10 +38,10 @@ fprintf(stderr,"Syntax: INFILE OUTFILE\n"); exit(1); } - if (!(config = psiconv_config_read(NULL))) { - fprintf(stderr,"Can't get config\n"); - exit(1); - } + + config = psiconv_config_default(); + psiconv_config_read(NULL,&config); + if (!(fp = fopen(argv[1],"r"))) { perror("Can't open file"); exit(1);