From a4824b95d144fda7c8caf197c5af19f8a5558a34 Mon Sep 17 00:00:00 2001
From: Robert Timm <mail@rtti.de>
Date: Thu, 4 May 2017 19:40:10 +0200
Subject: [PATCH] fixes download file name postfix (closes #383)

---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 8a13d57..dccd867 100644
--- a/src/main.c
+++ b/src/main.c
@@ -163,7 +163,7 @@ gboolean vb_download_set_destination(Client *c, WebKitDownload *download,
         /* Construct a new complete odwnload filepath with suffic before the
          * file extension. */
         do {
-            num = g_strdup_printf("%d", i++);
+            num = g_strdup_printf("_%d", i++);
             g_string_assign(tmp, file);
             g_string_insert(tmp, suffix, num);
             g_free(num);
-- 
2.20.1