readded three lines that were accidentally removed. Fixes bug #20090.

2000-08-07  Sven Neumann  <sven@gimp.org>

        * plug-ins/gdyntext/gdyntext.c: readded three lines that were
        accidentally removed. Fixes bug #20090.
This commit is contained in:
Sven Neumann 2000-08-07 15:47:46 +00:00 committed by Sven Neumann
parent 78c9b852ad
commit ce3b4e6f06
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/gdyntext.c: readded three lines that were
accidentally removed. Fixes bug #20090.
Mon Aug 7 10:07:12 CEST 2000 Marc Lehmann <pcg@goof.com>
* plug-ins/common/png.c: Applied patch from pk@kaempf.ch (closes

View File

@ -325,8 +325,8 @@ void gdt_render_text_p(GdtVals *data, gboolean show_progress)
gint32 font_size_type;
gchar **text_xlfd, **text_lines;
gint32 *text_lines_w;
GParam *ret_vals;
GParamColor old_color, text_color;
GimpParam *ret_vals;
GimpParamColor old_color, text_color;
if (show_progress)
gimp_progress_init (_("GIMP Dynamic Text"));
@ -434,6 +434,9 @@ void gdt_render_text_p(GdtVals *data, gboolean show_progress)
&old_color.blue);
/* set foreground color to the wanted text color */
text_color.red = (data->color 0 0xff0000) >> 16;
text_color.green = (data->color & 0xff00) >> 8;
text_color.blue = data->color & 0xff;
gimp_palette_set_foreground (text_color.red,
text_color.green,
text_color.blue);