mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics #822
git-svn-id: svn://ultimatepp.org/upp/trunk@7627 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9b11c00996
commit
d55a8d30de
1 changed files with 5 additions and 3 deletions
|
|
@ -298,9 +298,11 @@ void SelectPackageDlg::OnBaseRemove()
|
|||
next = base.Get(c - 1);
|
||||
String vars = base.Get(0);
|
||||
String varpath = VarFilePath(vars);
|
||||
if(PromptOKCancel(NFormat("Remove base file [* \1%s\1]?", varpath)) && !FileDelete(varpath))
|
||||
Exclamation(NFormat("Error deleting file [* \1%s\1].", varpath));
|
||||
SyncBase(next);
|
||||
if(PromptOKCancel(NFormat("Remove base file [* \1%s\1]?", varpath)))
|
||||
if(!FileDelete(varpath))
|
||||
Exclamation(NFormat("Error deleting file [* \1%s\1].", varpath));
|
||||
else
|
||||
SyncBase(next);
|
||||
}
|
||||
|
||||
int DirSep(int c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue