From: Robert Timm Date: Thu, 4 May 2017 17:40:10 +0000 (+0200) Subject: fixes download file name postfix (closes #383) X-Git-Url: https://git.owens.tech/assets/lich_lifts_title_slice.png/assets/lich_lifts_title_slice.png/git?a=commitdiff_plain;h=a4824b95d144fda7c8caf197c5af19f8a5558a34;p=vimb.git fixes download file name postfix (closes #383) --- 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);