From 23b41075664d60a2b1a1cd7065e3386f4ce184dc Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Sat, 14 Apr 2012 14:27:42 +0200 Subject: [PATCH] Fixed issue #1123: Apply patch serial does not correctly add patches to list if >3 patches are selected Signed-off-by: Sven Strickroth --- src/Changelog.txt | 4 ++++ src/TortoiseProc/ImportPatchDlg.cpp | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Changelog.txt b/src/Changelog.txt index f982f2c06..f28a2cfca 100644 --- a/src/Changelog.txt +++ b/src/Changelog.txt @@ -1,3 +1,7 @@ += Release 1.7.9.0 = +== Bug Fix == + * Fixed issue #1123: Apply patch serial does not correctly add patches to list if >3 patches are selected + = Release 1.7.8.0 = == Features== * Updated shipped zlib library to version 1.2.6 diff --git a/src/TortoiseProc/ImportPatchDlg.cpp b/src/TortoiseProc/ImportPatchDlg.cpp index e2e20e98b..ed284ac4a 100644 --- a/src/TortoiseProc/ImportPatchDlg.cpp +++ b/src/TortoiseProc/ImportPatchDlg.cpp @@ -1,6 +1,6 @@ // TortoiseGit - a Windows shell extension for easy version control -// Copyright (C) 2008-2011 - TortoiseGit +// Copyright (C) 2008-2012 - TortoiseGit // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -248,6 +248,9 @@ void CImportPatchDlg::OnBnClickedButtonAdd() NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT|OFN_ALLOWMULTISELECT, _T("Patch Files(*.patch)|*.patch|Diff Files(*.diff)|*.diff|All Files(*.*)|*.*||")); + dlg.m_ofn.nMaxFile = 65536; + auto_buffer path(dlg.m_ofn.nMaxFile); + dlg.m_ofn.lpstrFile = path; if(dlg.DoModal() == IDOK) { POSITION pos; -- 2.11.4.GIT