--- psiconv/trunk/program/extra/empty.c 2003/11/25 17:57:05 168 +++ psiconv/trunk/program/extra/empty.c 2014/10/22 19:53:40 351 @@ -1,6 +1,6 @@ /* empty.c - Part of psiconv, a PSION 5 file formats converter - Copyright (c) 1999 Frodo Looijaard + Copyright (c) 1999-2014 Frodo Looijaard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -49,10 +49,8 @@ help(); } - if (!(config = psiconv_config_read(NULL))) { - fprintf(stderr,"Can't get config\n"); - exit(1); - } + config = psiconv_config_default(); + psiconv_config_read(NULL,&config); psionfile = psiconv_empty_file(type); if (psiconv_write(config,&buf,psionfile)) {