/[public]/psiconv/trunk/program/extra/empty.c
ViewVC logotype

Diff of /psiconv/trunk/program/extra/empty.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 179 Revision 180
47 type = psiconv_word_file; 47 type = psiconv_word_file;
48 else { 48 else {
49 help(); 49 help();
50 } 50 }
51 51
52 if (!(config = psiconv_config_read(NULL))) { 52 config = psiconv_config_default();
53 fprintf(stderr,"Can't get config\n"); 53 psiconv_config_read(NULL,&config);
54 exit(1);
55 }
56 psionfile = psiconv_empty_file(type); 54 psionfile = psiconv_empty_file(type);
57 55
58 if (psiconv_write(config,&buf,psionfile)) { 56 if (psiconv_write(config,&buf,psionfile)) {
59 fprintf(stderr,"Generate error\n"); 57 fprintf(stderr,"Generate error\n");
60 exit(1); 58 exit(1);

Legend:
Removed from v.179  
changed lines
  Added in v.180

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26