1
0
Fork 0

- suppress CygWin warnings (Vivian Meazza)

This commit is contained in:
mfranz 2005-07-13 11:43:00 +00:00
parent 036fbdb18e
commit 3e38a4d415
2 changed files with 17 additions and 17 deletions

View file

@ -683,12 +683,12 @@ FGDialog::setColor(puObject * object, SGPropertyNode * props, int which)
const char *name;
const char *cname;
} pucol[numcol] = {
BACKGROUND, PUCOL_BACKGROUND, "background", "color-background",
FOREGROUND, PUCOL_FOREGROUND, "foreground", "color-foreground",
HIGHLIGHT, PUCOL_HIGHLIGHT, "highlight", "color-highlight",
LABEL, PUCOL_LABEL, "label", "color-label",
LEGEND, PUCOL_LEGEND, "legend", "color-legend",
MISC, PUCOL_MISC, "misc", "color-misc",
{ BACKGROUND, PUCOL_BACKGROUND, "background", "color-background" },
{ FOREGROUND, PUCOL_FOREGROUND, "foreground", "color-foreground" },
{ HIGHLIGHT, PUCOL_HIGHLIGHT, "highlight", "color-highlight" },
{ LABEL, PUCOL_LABEL, "label", "color-label" },
{ LEGEND, PUCOL_LEGEND, "legend", "color-legend" },
{ MISC, PUCOL_MISC, "misc", "color-misc" }
};
for (int i = 0; i < numcol; i++) {

View file

@ -303,17 +303,17 @@ static const struct {
char *name;
puFont *font;
} guifonts[] = {
"default", &FONT_HELVETICA_14,
"FIXED_8x13", &PUFONT_8_BY_13,
"FIXED_9x15", &PUFONT_9_BY_15,
"TIMES_10", &PUFONT_TIMES_ROMAN_10,
"TIMES_24", &PUFONT_TIMES_ROMAN_24,
"HELVETICA_10", &PUFONT_HELVETICA_10,
"HELVETICA_12", &PUFONT_HELVETICA_12,
"HELVETICA_14", &FONT_HELVETICA_14,
"HELVETICA_18", &PUFONT_HELVETICA_18,
"SANS_12B", &FONT_SANS_12B,
0, 0,
{ "default", &FONT_HELVETICA_14 },
{ "FIXED_8x13", &PUFONT_8_BY_13 },
{ "FIXED_9x15", &PUFONT_9_BY_15 },
{ "TIMES_10", &PUFONT_TIMES_ROMAN_10 },
{ "TIMES_24", &PUFONT_TIMES_ROMAN_24 },
{ "HELVETICA_10", &PUFONT_HELVETICA_10 },
{ "HELVETICA_12", &PUFONT_HELVETICA_12 },
{ "HELVETICA_14", &FONT_HELVETICA_14 },
{ "HELVETICA_18", &PUFONT_HELVETICA_18 },
{ "SANS_12B", &FONT_SANS_12B },
{ 0, 0 }
};
void