fixes typos
authorRobert Timm <mail@rtti.de>
Thu, 4 May 2017 17:42:50 +0000 (19:42 +0200)
committerRobert Timm <mail@rtti.de>
Thu, 4 May 2017 17:42:50 +0000 (19:42 +0200)
src/main.c
src/util.c

index 8a13d57..20d397f 100644 (file)
@@ -160,7 +160,7 @@ gboolean vb_download_set_destination(Client *c, WebKitDownload *download,
         tmp = g_string_new(NULL);
         num = g_strdup_printf("%d", i++);
 
-        /* Construct a new complete odwnload filepath with suffic before the
+        /* Construct a new complete download filepath with suffix before the
          * file extension. */
         do {
             num = g_strdup_printf("%d", i++);
index dd50104..f91dd89 100644 (file)
@@ -53,7 +53,7 @@ char *util_build_path(Client *c, const char *path, const char *dir)
     if ((fexp = util_expand(c, path, expflags))) {
         if (*fexp == '/') {
             /* path is already absolute, no need to use given dir - there is
-             * no need to free fexp, bacuse this should be done by the caller
+             * no need to free fexp, because this should be done by the caller
              * on fullPath later */
             fullPath = fexp;
         } else if (dir && *dir) {