aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-30 18:14:46 +0100
committerGitHub <noreply@github.com>2018-01-30 18:14:46 +0100
commit429f06d3f16c0401bb8a4acfbfc239b2745c9496 (patch)
tree6f8e17fb2a323dc271b4a7b138b468284799c8b2 /backend/drm/drm.c
parentf152fdb4c5ef46f9873b244c0616393efe039745 (diff)
parentc5aac776929cd5abed96463b635f0382d3047fbf (diff)
Merge pull request #597 from agx/typos
Fix some typos
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 63a6e2da..cdd2f57e 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -469,7 +469,7 @@ static bool wlr_drm_connector_set_mode(struct wlr_output *output,
wlr_output_update_mode(&conn->output, mode);
// Since realloc_crtcs can deallocate planes on OTHER outputs,
- // we actually need to reinitalise any than has changed
+ // we actually need to reinitialize any than has changed
ssize_t output_index = -1;
wl_list_for_each(conn, &drm->outputs, link) {
output_index += 1;
@@ -483,7 +483,7 @@ static bool wlr_drm_connector_set_mode(struct wlr_output *output,
if (!wlr_drm_plane_surfaces_init(crtc->primary, drm,
mode->width, mode->height, GBM_FORMAT_XRGB8888)) {
- wlr_log(L_ERROR, "Failed to initalise renderer for plane");
+ wlr_log(L_ERROR, "Failed to initialize renderer for plane");
goto error_conn;
}
@@ -949,7 +949,7 @@ void wlr_drm_connector_cleanup(struct wlr_drm_connector *conn) {
conn->possible_crtc = 0;
/* Fallthrough */
case WLR_DRM_CONN_NEEDS_MODESET:
- wlr_log(L_INFO, "Emmiting destruction signal for '%s'",
+ wlr_log(L_INFO, "Emitting destruction signal for '%s'",
conn->output.name);
wl_signal_emit(&drm->backend.events.output_remove, &conn->output);
break;