mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-04 22:03:29 -06:00
ide: Patch tool improvements
git-svn-id: svn://ultimatepp.org/upp/trunk@13494 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3758ed8b45
commit
f7548dd925
3 changed files with 37 additions and 22 deletions
|
|
@ -90,6 +90,8 @@ bool PatchDiff::Open(const char *patch_path, const Vector<String>& target_dirs)
|
|||
return false;
|
||||
}
|
||||
|
||||
patch_file <<= patch_path;
|
||||
|
||||
if(!patch.MatchFiles(target_dirs, pi)) {
|
||||
Exclamation("Unable to match the directory structure!");
|
||||
return true;
|
||||
|
|
@ -97,7 +99,6 @@ bool PatchDiff::Open(const char *patch_path, const Vector<String>& target_dirs)
|
|||
|
||||
String target_dir = patch.GetTargetDir();
|
||||
|
||||
patch_file <<= patch_path;
|
||||
this->target_dir <<= target_dir;
|
||||
|
||||
list.Clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue