… | |
… | |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #include "config.h" |
20 | #include "config.h" |
21 | #include <stdio.h> |
21 | #include <stdio.h> |
22 | #include <string.h> |
22 | #include <string.h> |
|
|
23 | #include <stdlib.h> |
23 | #include "data.h" |
24 | #include "data.h" |
24 | #include "list.h" |
25 | #include "list.h" |
25 | #include "gen.h" |
26 | #include "gen.h" |
26 | |
27 | |
27 | /* This determines for each character how it is displayed */ |
28 | /* This determines for each character how it is displayed */ |
… | |
… | |
117 | |
118 | |
118 | if ((old->font_size != new->font_size) || |
119 | if ((old->font_size != new->font_size) || |
119 | (old->color->red != new->color->red) || |
120 | (old->color->red != new->color->red) || |
120 | (old->color->green != new->color->green) || |
121 | (old->color->green != new->color->green) || |
121 | (old->color->blue != new->color->blue) || |
122 | (old->color->blue != new->color->blue) || |
122 | (old->font != new->font) || |
123 | (strcmp(old->font->name,new->font->name)) || |
|
|
124 | (old->font->screenfont != new->font->screenfont) || |
123 | ((*flags &0x03) == 3)) { |
125 | ((*flags & 0x03) == 3)) { |
124 | if (old->italic) |
126 | if (old->italic) |
125 | fputs("</I>",of); |
127 | fputs("</I>",of); |
126 | if (old->bold) |
128 | if (old->bold) |
127 | fputs("</B>",of); |
129 | fputs("</B>",of); |
128 | if (old->underline) |
130 | if (old->underline) |