summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2015-11-20 11:57:43 -0800
committerBryce Harrington <bryce@osg.samsung.com>2015-11-20 11:58:13 -0800
commitf69bd1a90945d26fe3713ceb409652b58ec24ad1 (patch)
tree6206c482cde1807aa872d3fbe99aadb516add9aa /clients
parentbc9a61cc2325f832c3d5867c67b83acbd32a54ac (diff)
downloadweston-f69bd1a90945d26fe3713ceb409652b58ec24ad1.tar.gz
clients: Fix a few minor typos in comments
Diffstat (limited to 'clients')
-rw-r--r--clients/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clients/window.c b/clients/window.c
index db40a436..bf3c470c 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -146,7 +146,7 @@ struct window_output {
struct toysurface {
/*
* Prepare the surface for drawing. Makes sure there is a surface
- * of the right size available for rendering, and returns it.
+ * of the right size available for rendering, and return it.
* dx,dy are the x,y of wl_surface.attach.
* width,height are the new buffer size.
* If flags has SURFACE_HINT_RESIZE set, the user is
@@ -168,7 +168,7 @@ struct toysurface {
/*
* Make the toysurface current with the given EGL context.
- * Returns 0 on success, and negative of failure.
+ * Returns 0 on success, and negative on failure.
*/
int (*acquire)(struct toysurface *base, EGLContext ctx);
@@ -1998,7 +1998,7 @@ get_text_extents(struct display *display, struct tooltip *tooltip)
cairo_t *cr;
cairo_text_extents_t extents;
- /* Use the dummy_surface because tooltip's surface was not
+ /* Use the dummy_surface because the tooltip's surface was not
* created yet, and parent does not have a valid surface
* outside repaint, either.
*/
@@ -4226,7 +4226,7 @@ surface_redraw(struct surface *surface)
if (surface->widget->use_cairo &&
!widget_get_cairo_surface(surface->widget)) {
- DBG_OBJ(surface->surface, "cancelled due buffer failure\n");
+ DBG_OBJ(surface->surface, "cancelled due to buffer failure\n");
return -1;
}