Skip to content

Commit

Permalink
Win32 launcher: Fix download file name for custom folder (bug 1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
thp committed Jul 23, 2014
1 parent aba4ac3 commit 5cd57d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/win32-launcher/gpodder.c
Expand Up @@ -162,6 +162,7 @@ int main(int argc, char** argv)
"Python 2.7 installation not found",
MB_YESNO | MB_ICONQUESTION) == IDYES) {
strncpy(Temp_Download_Filename, gPodder_Home, MAX_PATH);
strncat(Temp_Download_Filename, "\\", MAX_PATH);
strncat(Temp_Download_Filename, PYTHON_INSTALLER_FILE, MAX_PATH);
if (DownloadFile(Temp_Download_Filename,
PYTHON_INSTALLER_URL,
Expand Down Expand Up @@ -200,6 +201,7 @@ int main(int argc, char** argv)
"PyGTK installation not found",
MB_YESNO | MB_ICONQUESTION) == IDYES) {
strncpy(Temp_Download_Filename, gPodder_Home, MAX_PATH);
strncat(Temp_Download_Filename, "\\", MAX_PATH);
strncat(Temp_Download_Filename, PYGTK_INSTALLER_FILE, MAX_PATH);
if (DownloadFile(Temp_Download_Filename,
PYGTK_INSTALLER_URL,
Expand Down

0 comments on commit 5cd57d3

Please sign in to comment.