From ce2aa639f448e4585e953fd14292dc0a9c5c4d86 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 11 Jun 2017 17:26:42 +0200 Subject: Windows: various fixes following Coverity analysis. --- src/Setup/Setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Setup/Setup.c') diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c index 367aaf90..76f73712 100644 --- a/src/Setup/Setup.c +++ b/src/Setup/Setup.c @@ -1864,7 +1864,7 @@ BOOL DoShortcutsInstall (HWND hwndDlg, wchar_t *szDestDir, BOOL bProgGroup, BOOL f = _wfopen (szTmp2, L"w"); if (f) { - fprintf (f, "[InternetShortcut]\nURL=%S\n", TC_APPLINK); + fwprintf (f, L"[InternetShortcut]\nURL=%s\n", TC_APPLINK); CheckFileStreamWriteErrors (hwndDlg, f, szTmp2); fclose (f); -- cgit v1.2.3