[PATCH 5/5] clients: fix spelling
Tiago Vignatti
tiago.vignatti at intel.com
Thu Feb 9 09:06:56 PST 2012
From: Tiago Vignatti <vignatti at freedesktop.org>
Signed-off-by: Tiago Vignatti <vignatti at freedesktop.org>
---
clients/cairo-util.c | 16 ++++++++--------
clients/gears.c | 2 +-
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/clients/cairo-util.c b/clients/cairo-util.c
index df2fb1b..4257590 100644
--- a/clients/cairo-util.c
+++ b/clients/cairo-util.c
@@ -169,7 +169,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_mask(cr, pattern);
}
- /* Top strecth */
+ /* Top stretch */
cairo_matrix_init_translate(&matrix, 64, 0);
cairo_matrix_scale(&matrix, 64.0 / (width - 2 * margin), 1);
cairo_matrix_translate(&matrix, -x - width / 2, -y);
@@ -184,7 +184,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_clip (cr);
cairo_mask(cr, pattern);
- /* Bottom strecth */
+ /* Bottom stretch */
cairo_matrix_translate(&matrix, 0, -height + 128);
cairo_pattern_set_matrix(pattern, &matrix);
@@ -194,7 +194,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_clip (cr);
cairo_mask(cr, pattern);
- /* Left strecth */
+ /* Left stretch */
cairo_matrix_init_translate(&matrix, 0, 64);
cairo_matrix_scale(&matrix, 1, 64.0 / (height - 2 * margin));
cairo_matrix_translate(&matrix, -x, -y - height / 2);
@@ -204,7 +204,7 @@ tile_mask(cairo_t *cr, cairo_surface_t *surface,
cairo_clip (cr);
cairo_mask(cr, pattern);
- /* Right strecth */
+ /* Right stretch */
cairo_matrix_translate(&matrix, -width + 128, 0);
cairo_pattern_set_matrix(pattern, &matrix);
cairo_rectangle(cr, x + width - margin, y + margin,
@@ -251,7 +251,7 @@ tile_source(cairo_t *cr, cairo_surface_t *surface,
cairo_fill(cr);
}
- /* Top strecth */
+ /* Top stretch */
cairo_matrix_init_translate(&matrix, 64, 0);
cairo_matrix_scale(&matrix, 64.0 / (width - 2 * margin), 1);
cairo_matrix_translate(&matrix, -x - width / 2, -y);
@@ -259,14 +259,14 @@ tile_source(cairo_t *cr, cairo_surface_t *surface,
cairo_rectangle(cr, x + margin, y, width - 2 * margin, top_margin);
cairo_fill(cr);
- /* Bottom strecth */
+ /* Bottom stretch */
cairo_matrix_translate(&matrix, 0, -height + 128);
cairo_pattern_set_matrix(pattern, &matrix);
cairo_rectangle(cr, x + margin, y + height - margin,
width - 2 * margin, margin);
cairo_fill(cr);
- /* Left strecth */
+ /* Left stretch */
cairo_matrix_init_translate(&matrix, 0, 64);
cairo_matrix_scale(&matrix, 1, 64.0 / (height - margin - top_margin));
cairo_matrix_translate(&matrix, -x, -y - height / 2);
@@ -275,7 +275,7 @@ tile_source(cairo_t *cr, cairo_surface_t *surface,
margin, height - margin - top_margin);
cairo_fill(cr);
- /* Right strecth */
+ /* Right stretch */
cairo_matrix_translate(&matrix, -width + 128, 0);
cairo_pattern_set_matrix(pattern, &matrix);
cairo_rectangle(cr, x + width - margin, y + top_margin,
diff --git a/clients/gears.c b/clients/gears.c
index 22312bd..3b4f3d3 100644
--- a/clients/gears.c
+++ b/clients/gears.c
@@ -332,7 +332,7 @@ gears_create(struct display *display)
die("failed to create context\n");
if (!eglMakeCurrent(gears->display, NULL, NULL, gears->context))
- die("faile to make context current\n");
+ die("failed to make context current\n");
for (i = 0; i < 3; i++) {
gears->gear_list[i] = glGenLists(1);
--
1.7.5.4
More information about the wayland-devel
mailing list