mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 15:55:45 +00:00
trivial: Codespell fixes
This commit is contained in:
parent
a5a1648c35
commit
0ec634e7db
@ -514,7 +514,7 @@ fu_common_vercmp (const gchar *version_a, const gchar *version_b)
|
||||
if (version_a == NULL || version_b == NULL)
|
||||
return G_MAXINT;
|
||||
|
||||
/* optimisation */
|
||||
/* optimization */
|
||||
if (g_strcmp0 (version_a, version_b) == 0)
|
||||
return 0;
|
||||
|
||||
|
@ -368,7 +368,7 @@ fu_udev_device_probe (FuDevice *device, GError **error)
|
||||
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 &&
|
||||
udev_parent != NULL && fu_device_get_vendor (device) == NULL) {
|
||||
g_autoptr(GUdevDevice) device_tmp = g_object_ref (udev_parent);
|
||||
|
@ -1380,7 +1380,7 @@ fu_engine_check_requirement_client (FuEngine *self,
|
||||
for (guint i = 0; feature_split[i] != NULL; i++) {
|
||||
FwupdFeatureFlags flag = fwupd_feature_flag_from_string (feature_split[i]);
|
||||
|
||||
/* not recognised */
|
||||
/* not recognized */
|
||||
if (flag == FWUPD_FEATURE_FLAG_LAST) {
|
||||
g_set_error (error,
|
||||
FWUPD_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user