diff --git a/uppsrc/ide/Upgrade.cpp b/uppsrc/ide/Upgrade.cpp index d415b38bd..fb6dd52c6 100644 --- a/uppsrc/ide/Upgrade.cpp +++ b/uppsrc/ide/Upgrade.cpp @@ -5,7 +5,7 @@ void Ide::UpgradeTheIDE() String idepath = GetExeFilePath(); String newpath = idepath + ".new"; String bakpath(~idepath, GetFileExtPos(idepath)); - bakpath << ".bak.exe"; + bakpath << ".bak" << GetExeExt(); int tbak = targetmode; String tmbak = StoreAsString(release); diff --git a/uppsrc/ide/idebar.cpp b/uppsrc/ide/idebar.cpp index 77bd0108d..1baa89694 100644 --- a/uppsrc/ide/idebar.cpp +++ b/uppsrc/ide/idebar.cpp @@ -389,6 +389,7 @@ void Ide::Setup(Bar& menu) menu.Add("Automatic build methods setup..", callback(InstantSetup)) .Help("Setups/fixes build methods and basic assemblies.."); #endif + menu.MenuSeparator(); menu.Add("Checkout and setup U++ SVN trunk sources..", [=] { if(SetupSVNTrunk()) { IdeAgain = true; @@ -400,7 +401,7 @@ void Ide::Setup(Bar& menu) if(wspc[0] == "ide") for(int i = 0; i < wspc.GetCount(); i++) if(wspc[i] == "ide/Core") - menu.Add("Upgrade theide..", [=] { UpgradeTheIDE(); }); + menu.Add("Upgrade TheIDE..", [=] { UpgradeTheIDE(); }); if(menu.IsMenuBar()) SetupMobilePlatforms(menu);