summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2018-01-15 22:54:27 -0800
committerMatthew Leeds <matthew.leeds@endlessm.com>2018-01-15 22:54:27 -0800
commitee10c43b66d6cc99ad4d13fbead463840ee3e275 (patch)
treeaaa7e48e91437b95aba1a00f6961d0573518d8b4
parentd9e4041eb1e94941b0d86b0a7bee002b2cf683c4 (diff)
downloadflatpak-ee10c43b66d6cc99ad4d13fbead463840ee3e275.tar.gz
dir: Fix typos in comments
-rw-r--r--common/flatpak-dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/flatpak-dir.c b/common/flatpak-dir.c
index 3ea8cdac..a0afe7d3 100644
--- a/common/flatpak-dir.c
+++ b/common/flatpak-dir.c
@@ -6486,7 +6486,7 @@ flatpak_dir_check_for_update (FlatpakDir *self,
if (deploy_data != NULL)
old_subpaths = flatpak_deploy_data_get_subpaths (deploy_data);
else
- old_subpaths = g_new0 (const char *, 1); /* Empty strv == all subpatsh*/
+ old_subpaths = g_new0 (const char *, 1); /* Empty strv == all subpaths*/
if (opt_subpaths)
subpaths = opt_subpaths;
@@ -6503,7 +6503,7 @@ flatpak_dir_check_for_update (FlatpakDir *self,
if (*url == 0)
{
- /* Empty URL => disabled, but we preted to be already installed to avoid warnings */
+ /* Empty URL => disabled, but we pretend to be already installed to avoid warnings */
g_set_error (error, FLATPAK_ERROR, FLATPAK_ERROR_ALREADY_INSTALLED,
_("%s branch %s already installed"), ref, installed_commit);
return NULL;