fixed some minor coding style issues.

2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.c: fixed some minor coding style issues.
This commit is contained in:
Sven Neumann 2005-07-31 11:53:32 +00:00 committed by Sven Neumann
parent 11b6874947
commit e96a77ecb3
2 changed files with 9 additions and 6 deletions

View File

@ -1,7 +1,10 @@
2005-07-31 Sven Neumann <sven@gimp.org>
* app/core/gimpscanconvert.c: fixed some minor coding style issues.
2005-07-31 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell-render.c
* app/display/gimpdisplayshell.[ch]: removed the overlay again.
This needs to be done differently.

View File

@ -87,7 +87,7 @@ gimp_scan_convert_new (void)
sc = g_new0 (GimpScanConvert, 1);
sc->ratio_xy = 1.0;
sc->ratio_xy = 1.0;
return sc;
}
@ -337,7 +337,7 @@ gimp_scan_convert_stroke (GimpScanConvert *sc,
dashes = g_new (gdouble, dash_info->len);
for (i=0; i < dash_info->len ; i++)
for (i = 0; i < dash_info->len ; i++)
dashes[i] = MAX (width, 1.0) * g_array_index (dash_info, gdouble, i);
dash.n_dash = dash_info->len;
@ -354,7 +354,7 @@ gimp_scan_convert_stroke (GimpScanConvert *sc,
/* shift the pattern to really starts with a dash and
* use the offset to skip into it.
*/
for (i=0; i < dash_info->len - 2; i++)
for (i = 0; i < dash_info->len - 2; i++)
{
dash.dash[i] = dash.dash[i+2];
dash.offset += dash.dash[i];
@ -421,7 +421,7 @@ gimp_scan_convert_stroke (GimpScanConvert *sc,
segment->bbox.x0 /= sc->ratio_xy;
segment->bbox.x1 /= sc->ratio_xy;
for (j=0; j < segment->n_points ; j++)
for (j = 0; j < segment->n_points; j++)
{
point = segment->points + j;
point->x /= sc->ratio_xy;
@ -533,7 +533,7 @@ gimp_scan_convert_finish (GimpScanConvert *sc)
/* Debug output of libart path */
/* {
* gint i;
* for (i=0; i < sc->num_nodes + 1; i++)
* for (i = 0; i < sc->num_nodes + 1; i++)
* {
* g_printerr ("X: %f, Y: %f, Type: %d\n", sc->vpath[i].x,
* sc->vpath[i].y,