trivial: Codespell fixes

This commit is contained in:
Richard Hughes 2020-12-07 20:55:18 +00:00
parent a5a1648c35
commit 0ec634e7db
3 changed files with 3 additions and 3 deletions

View File

@ -514,7 +514,7 @@ fu_common_vercmp (const gchar *version_a, const gchar *version_b)
if (version_a == NULL || version_b == NULL) if (version_a == NULL || version_b == NULL)
return G_MAXINT; return G_MAXINT;
/* optimisation */ /* optimization */
if (g_strcmp0 (version_a, version_b) == 0) if (g_strcmp0 (version_a, version_b) == 0)
return 0; return 0;

View File

@ -368,7 +368,7 @@ fu_udev_device_probe (FuDevice *device, GError **error)
fu_device_set_vendor (device, tmp); fu_device_set_vendor (device, tmp);
} }
/* try harder to find a vendor name the user will recognise */ /* try harder to find a vendor name the user will recognize */
if (priv->flags & FU_UDEV_DEVICE_FLAG_VENDOR_FROM_PARENT && if (priv->flags & FU_UDEV_DEVICE_FLAG_VENDOR_FROM_PARENT &&
udev_parent != NULL && fu_device_get_vendor (device) == NULL) { udev_parent != NULL && fu_device_get_vendor (device) == NULL) {
g_autoptr(GUdevDevice) device_tmp = g_object_ref (udev_parent); g_autoptr(GUdevDevice) device_tmp = g_object_ref (udev_parent);

View File

@ -1380,7 +1380,7 @@ fu_engine_check_requirement_client (FuEngine *self,
for (guint i = 0; feature_split[i] != NULL; i++) { for (guint i = 0; feature_split[i] != NULL; i++) {
FwupdFeatureFlags flag = fwupd_feature_flag_from_string (feature_split[i]); FwupdFeatureFlags flag = fwupd_feature_flag_from_string (feature_split[i]);
/* not recognised */ /* not recognized */
if (flag == FWUPD_FEATURE_FLAG_LAST) { if (flag == FWUPD_FEATURE_FLAG_LAST) {
g_set_error (error, g_set_error (error,
FWUPD_ERROR, FWUPD_ERROR,