correction to most recent repair for 8525

svn: r5713
This commit is contained in:
Matthew Flatt 2007-03-01 18:52:24 +00:00
parent 030cd80246
commit 60aa1bc6ef
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ static void make_textgc(self)Widget self;
if (((XfwfGroupWidget)self)->xfwfGroup.textgc != NULL) XtReleaseGC(self, ((XfwfGroupWidget)self)->xfwfGroup.textgc);
values.background = ((XfwfGroupWidget)self)->core.background_pixel;
values.foreground = ((XfwfGroupWidget)self)->xfwfGroup.foreground;
mask = GCFont | GCBackground | GCForeground;
mask = GCBackground | GCForeground;
if (((XfwfGroupWidget)self)->xfwfGroup.font) {
values.font = ((XfwfGroupWidget)self)->xfwfGroup.font->fid;
mask |= GCFont;

View File

@ -274,7 +274,7 @@ current value of the Group's |selection| resource.
if ($textgc != NULL) XtReleaseGC($, $textgc);
values.background = $background_pixel;
values.foreground = $foreground;
mask = GCFont | GCBackground | GCForeground;
mask = GCBackground | GCForeground;
if ($font) {
values.font = $font->fid;
mask |= GCFont;