correction to most recent repair for 8525
svn: r5713
This commit is contained in:
parent
030cd80246
commit
60aa1bc6ef
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user