summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/cro.c2
-rw-r--r--gfx/diff.c6
-rw-r--r--gfx/diff.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/gfx/cro.c b/gfx/cro.c
index 6c50ab7..50b0d5f 100644
--- a/gfx/cro.c
+++ b/gfx/cro.c
@@ -286,7 +286,7 @@ static void overlined(cairo_t *cr, const char *s, double h)
overline(cr, ox, oy, g[-1].x + ext.x_advance,
g[-1].y + ext.y_advance, h);
}
-
+
cairo_glyph_free(glyphs);
}
diff --git a/gfx/diff.c b/gfx/diff.c
index 096c252..6aef353 100644
--- a/gfx/diff.c
+++ b/gfx/diff.c
@@ -175,9 +175,9 @@ void *diff_process_file(struct diff *diff, struct file_names *file_names,
free_file_names(file_names);
return NULL;
}
- }
+ }
- if (!file_open(&sch_file, fn->sch, file_names->pro ? &pro_file : NULL))
+ if (!file_open(&sch_file, fn->sch, file_names->pro ? &pro_file : NULL))
goto fail_open;
for (i = 0 ; i != fn->n_libs; i++)
if (!lib_parse_search(&lib, fn->libs[i], fn, &sch_file))
@@ -467,7 +467,7 @@ static int diff_end(void *ctx)
cro_img_reset(gfx_user(diff->new_gfx));
cro_img_reset(gfx_user(diff->gfx));
-
+
old_cr = make_diff(NULL, 0, 0, diff->scale,
gfx_user(diff->gfx), NULL, gfx_user(diff->new_gfx), NULL, NULL,
&changed);
diff --git a/gfx/diff.h b/gfx/diff.h
index 90eb66d..d1fbc18 100644
--- a/gfx/diff.h
+++ b/gfx/diff.h
@@ -39,7 +39,7 @@ void add_area(struct area **areas, int xa, int ya, int xb, int yb,
uint32_t color);
void free_areas(struct area **areas);
-void diff_to_canvas(cairo_t *cr, int cx, int cy, float scale,
+void diff_to_canvas(cairo_t *cr, int cx, int cy, float scale,
struct cro_ctx *old, struct cro_ctx *old_extra,
struct cro_ctx *new, struct cro_ctx *new_extra,
const struct area *areas);