mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-29 22:04:02 -06:00
ide: Fixed patch with single file, fixed problem with 'warning' in the id in error outpur
git-svn-id: svn://ultimatepp.org/upp/trunk@13933 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9411554d8d
commit
26949fcca1
3 changed files with 13 additions and 9 deletions
|
|
@ -76,7 +76,7 @@ PatchDiff::PatchDiff()
|
|||
Title("Patch");
|
||||
}
|
||||
|
||||
bool PatchDiff::Open(const char *patch_path, const Vector<String>& target_dirs)
|
||||
bool PatchDiff::Open(const char *patch_path, const Vector<String>& target_dirs0)
|
||||
{
|
||||
failed_count = 0;
|
||||
list.Clear();
|
||||
|
|
@ -84,6 +84,11 @@ bool PatchDiff::Open(const char *patch_path, const Vector<String>& target_dirs)
|
|||
ShowResult();
|
||||
patch_file <<= Null;
|
||||
target_dir <<= Null;
|
||||
|
||||
Vector<String> target_dirs;
|
||||
for(String s : target_dirs0)
|
||||
target_dirs.Add(UnixPath(s));
|
||||
DDUMP(target_dirs);
|
||||
|
||||
Progress pi;
|
||||
if(!patch.Load(patch_path, pi)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue