Fix gccism.

2004-01-19  Tor Lillqvist  <tml@iki.fi>

	* app/gui/about-dialog.c (decorate_text): Fix gccism.
This commit is contained in:
Tor Lillqvist 2004-01-19 20:38:23 +00:00 committed by Tor Lillqvist
parent c82cf11cbd
commit c20541524f
3 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2004-01-19 Tor Lillqvist <tml@iki.fi>
* app/gui/about-dialog.c (decorate_text): Fix gccism.
2004-01-19 Sven Neumann <sven@gimp.org>
* configure.in: bumped version number to 2.0pre3 (1.3.26),

View File

@ -567,8 +567,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
PangoRectangle lrect = {0, 0, 0, 0};
PangoColor mix;
mix_colors (&(pp ? backgr0und : background),
&(pp ? foregr0und : foreground),
mix_colors ((pp ? &backgr0und : &background),
(pp ? &foregr0und : &foreground),
&mix, time);
text = pango_layout_get_text (layout);
@ -663,8 +663,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
else
pos = ((gdouble) (letter_count - border)) / 15;
mix_colors (&(pp ? foregr0und : foreground),
&(pp ? backgr0und : background),
mix_colors ((pp ? &foregr0und : &foreground),
(pp ? &backgr0und : &background),
&mix, pos);
ptr = g_utf8_next_char (ptr);

View File

@ -567,8 +567,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
PangoRectangle lrect = {0, 0, 0, 0};
PangoColor mix;
mix_colors (&(pp ? backgr0und : background),
&(pp ? foregr0und : foreground),
mix_colors ((pp ? &backgr0und : &background),
(pp ? &foregr0und : &foreground),
&mix, time);
text = pango_layout_get_text (layout);
@ -663,8 +663,8 @@ decorate_text (PangoLayout *layout, gint anim_type, gdouble time)
else
pos = ((gdouble) (letter_count - border)) / 15;
mix_colors (&(pp ? foregr0und : foreground),
&(pp ? backgr0und : background),
mix_colors ((pp ? &foregr0und : &foreground),
(pp ? &backgr0und : &background),
&mix, pos);
ptr = g_utf8_next_char (ptr);