Windows: various fixes following Coverity analysis.

This commit is contained in:
Mounir IDRASSI committed 2017-06-11 17:28:22 +02:00
1 parent 70d083bfb2
commit ce2aa639f4
6 files changed
+184 -109

No files matched your search

+1 -1
View File
@@ -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);