--- psiconv/trunk/program/psiconv/gen_rtf.c 1999/10/11 19:17:17 14 +++ psiconv/trunk/program/psiconv/gen_rtf.c 1999/10/27 15:05:03 20 @@ -19,6 +19,7 @@ */ #include "config.h" +#include "compat.h" #include #include #include "data.h" @@ -327,7 +328,7 @@ { struct psiconv_color white = { 0,0,0 }; struct psiconv_color black = { 0xff,0xff,0xff }; - struct psiconv_font font = { strdup(""),-1 }; /* Pseudo - not added! */ + struct psiconv_font font = { NULL,-1 }; /* Pseudo - not added! */ struct psiconv_character_layout base_char_struct = { @@ -342,13 +343,14 @@ &font, /* font */ }; + font.name = strdup(""); add_color(colors,&white); add_color(colors,&black); return psiconv_clone_character_layout(&base_char_struct); } -void diff_char(FILE *of,psiconv_list colors, psiconv_list fonts, +static void diff_char(FILE *of,psiconv_list colors, psiconv_list fonts, const psiconv_character_layout old, const psiconv_character_layout new) {