From ee928db5b2cdb82f967aff156a8fc01686e6bc58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torstein=20Huseb=C3=B8?= Date: Tue, 18 Aug 2020 17:36:16 +0200 Subject: [PATCH] treewide: Correct typos --- libfprint/drivers/goodixmoc/goodix.c | 2 +- libfprint/drivers/synaptics/synaptics.c | 2 +- libfprint/fp-device.c | 2 +- libfprint/fpi-device.c | 2 +- libfprint/fpi-ssm.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c index bb0368b..563b379 100644 --- a/libfprint/drivers/goodixmoc/goodix.c +++ b/libfprint/drivers/goodixmoc/goodix.c @@ -742,7 +742,7 @@ fp_finger_mode_cb (FpiDeviceGoodixMoc *self, fpi_ssm_mark_failed (self->task_ssm, error); return; } - /* if reach max timeout(5sec) finger not up, swtich to finger up again */ + /* if reach max timeout(5sec) finger not up, switch to finger up again */ if (resp->finger_status.status == GX_ERROR_WAIT_FINGER_UP_TIMEOUT) { fpi_ssm_jump_to_state (self->task_ssm, FP_ENROLL_WAIT_FINGER_UP); diff --git a/libfprint/drivers/synaptics/synaptics.c b/libfprint/drivers/synaptics/synaptics.c index 934a271..f410072 100644 --- a/libfprint/drivers/synaptics/synaptics.c +++ b/libfprint/drivers/synaptics/synaptics.c @@ -121,7 +121,7 @@ cmd_receive_cb (FpiUsbTransfer *transfer, { if (resp.response_id == BMKT_RSP_CANCEL_OP_OK) { - fp_dbg ("Received cancellation success resonse"); + fp_dbg ("Received cancellation success response"); fpi_ssm_mark_failed (transfer->ssm, g_error_new_literal (G_IO_ERROR, G_IO_ERROR_CANCELLED, diff --git a/libfprint/fp-device.c b/libfprint/fp-device.c index 6db665f..f752a48 100644 --- a/libfprint/fp-device.c +++ b/libfprint/fp-device.c @@ -792,7 +792,7 @@ fp_device_close_finish (FpDevice *device, * in. The driver may make use of this metadata, when e.g. storing the print on * device memory. It is undefined whether this print is filled in by the driver * and returned, or whether the driver will return a newly created print after - * enrollment successed. + * enrollment succeeded. */ void fp_device_enroll (FpDevice *device, diff --git a/libfprint/fpi-device.c b/libfprint/fpi-device.c index 0968c0c..de51192 100644 --- a/libfprint/fpi-device.c +++ b/libfprint/fpi-device.c @@ -760,7 +760,7 @@ fp_device_task_return_in_idle_cb (gpointer user_data) g_task_return_error (task, fpi_device_error_new (FP_DEVICE_ERROR_REMOVED)); /* NOTE: The removed signal will be emitted from the GTask - * notify::completed if that is neccessary. */ + * notify::completed if that is necessary. */ return G_SOURCE_REMOVE; } diff --git a/libfprint/fpi-ssm.c b/libfprint/fpi-ssm.c index 3cc39a7..25728d1 100644 --- a/libfprint/fpi-ssm.c +++ b/libfprint/fpi-ssm.c @@ -74,7 +74,7 @@ * upon success (or fails). * * Your completion callback should examine the return value of - * fpi_ssm_get_error() in ordater to determine whether the #FpiSsm completed or + * fpi_ssm_get_error() in order to determine whether the #FpiSsm completed or * failed. An error code of zero indicates successful completion. */