diff --git a/Sandboxie/apps/control/TreePropSheet.cpp b/Sandboxie/apps/control/TreePropSheet.cpp index 1e299853..dd17e64f 100644 --- a/Sandboxie/apps/control/TreePropSheet.cpp +++ b/Sandboxie/apps/control/TreePropSheet.cpp @@ -529,7 +529,7 @@ CString CTreePropSheet::SplitPageTreePath(CString &strRest) } else if (nSeperatorPos>0) { - // if there is an odd number of backslashes infront of the + // if there is an odd number of backslashes in front of the // separator, than do not interpret it as separator int nBackslashCount = 0; for (int nPos = nSeperatorPos-1; nPos >= 0 && strRest[nPos]==_T('\\'); --nPos, ++nBackslashCount); diff --git a/Sandboxie/common/hook_util.c b/Sandboxie/common/hook_util.c index 9094eac8..18af7eee 100644 --- a/Sandboxie/common/hook_util.c +++ b/Sandboxie/common/hook_util.c @@ -323,7 +323,7 @@ ULONGLONG* findChromeTarget(unsigned char* addr) for (j = i + 1; j < MAX_FUNC_OPS && !ChromeTarget; j++) { LDR ldr; ldr.OP = ((ULONG*)addr)[j]; - if (IS_LDR(ldr) && ldr.Rn == adrp.Rd) { // ldr.Rt can be different idealy x0 or its same as adrp.Rd + if (IS_LDR(ldr) && ldr.Rn == adrp.Rd) { // ldr.Rt can be different ideally x0 or its same as adrp.Rd LONG delta = (adrp.immHi << 2 | adrp.immLo) << 12; delta += (ldr.imm12 << ldr.size); target = ((((UINT_PTR) & ((ULONG*)addr)[i]) & ~0xFFF) + delta); diff --git a/Sandboxie/core/dll/dllmain.c b/Sandboxie/core/dll/dllmain.c index e8118c37..39c7a540 100644 --- a/Sandboxie/core/dll/dllmain.c +++ b/Sandboxie/core/dll/dllmain.c @@ -367,7 +367,7 @@ _FX void Dll_InitInjected(void) // // // // // instead of using a separate namespace - // // just replace all \ with _ and use it as a sufix rather then an actual path + // // just replace all \ with _ and use it as a suffix rather then an actual path // // similarly a its done for named pipes already // // this approach can help to reduce the footprint when running in portable mode // // alternatively we could create volatile entries under AppContainerNamedObjects diff --git a/Sandboxie/core/drv/my_fltkernel.h b/Sandboxie/core/drv/my_fltkernel.h index aec5736c..f306f174 100644 --- a/Sandboxie/core/drv/my_fltkernel.h +++ b/Sandboxie/core/drv/my_fltkernel.h @@ -351,7 +351,7 @@ typedef union _FLT_PARAMETERS { // // Type3InputBuffer: name changed from IO_STACK_LOCATION parameters - // Note for this mothod, both input & output buffers are 'raw', + // Note for this method, both input & output buffers are 'raw', // i.e. unbuffered, and should be treated with caution ( either // probed & captured before access, or use try-except to enclose // access to the buffer) @@ -451,7 +451,7 @@ typedef union _FLT_PARAMETERS { // // Type3InputBuffer: name changed from IO_STACK_LOCATION parameters - // Note for this mothod, both input & output buffers are 'raw', + // Note for this method, both input & output buffers are 'raw', // i.e. unbuffered, and should be treated with caution ( either // probed & captured before access, or use try-except to enclose // access to the buffer) diff --git a/Sandboxie/core/svc/sbieiniserver.cpp b/Sandboxie/core/svc/sbieiniserver.cpp index 4234ba04..31d0e37d 100644 --- a/Sandboxie/core/svc/sbieiniserver.cpp +++ b/Sandboxie/core/svc/sbieiniserver.cpp @@ -1065,7 +1065,7 @@ ULONG SbieIniServer::SetSetting(MSG_HEADER* msg) SIniSection* pSection = GetIniSection(req->section, true); // - // Check if this is a repalce section request and if so execute it + // Check if this is a replace section request and if so execute it // if (wcslen(req->setting) == 0 && have_value) diff --git a/SandboxiePlus/SandMan/OnlineUpdater.cpp b/SandboxiePlus/SandMan/OnlineUpdater.cpp index 58a9815c..dd00c8c8 100644 --- a/SandboxiePlus/SandMan/OnlineUpdater.cpp +++ b/SandboxiePlus/SandMan/OnlineUpdater.cpp @@ -295,7 +295,7 @@ void COnlineUpdater::LoadState() QString COnlineUpdater::GetOnNewUpdateOption() const { QString ReleaseChannel = theConf->GetString("Options/ReleaseChannel", "stable"); - if (ReleaseChannel != "preview" && (!g_CertInfo.active || g_CertInfo.expired)) // allow revisions for previwe channel + if (ReleaseChannel != "preview" && (!g_CertInfo.active || g_CertInfo.expired)) // allow revisions for preview channel return "ignore"; // this service requires a valid certificate return theConf->GetString("Options/OnNewUpdate", "ignore"); } diff --git a/SandboxiePlus/SandMan/Troubleshooting/Sandboxing/SBIEMSG/SBIE1307.js b/SandboxiePlus/SandMan/Troubleshooting/Sandboxing/SBIEMSG/SBIE1307.js index 0406bbb4..8148baaf 100644 --- a/SandboxiePlus/SandMan/Troubleshooting/Sandboxing/SBIEMSG/SBIE1307.js +++ b/SandboxiePlus/SandMan/Troubleshooting/Sandboxing/SBIEMSG/SBIE1307.js @@ -24,7 +24,7 @@ let message = tr('Internet Access restrictions are in effect for the sandbox in { id: 'no', name: tr('No'), type: 'radio' }, ]; - message += '\n\n' + tr('Would you like to allow %1 to access the interent in future?', processName); + message += '\n\n' + tr('Would you like to allow %1 to access the internet in future?', processName); let ret = wizard.showForm(form, message); if (ret['yes'] == true) { let box = sbie.getBox(boxName); diff --git a/SandboxiePlus/SandMan/Windows/OptionsWindow.cpp b/SandboxiePlus/SandMan/Windows/OptionsWindow.cpp index 33cce3c8..51c227b4 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsWindow.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsWindow.cpp @@ -1067,7 +1067,7 @@ void COptionsWindow::showTab(const QString& Name) SafeShow(this); } -void COptionsWindow::SetProgramItem(QString Program, QTreeWidgetItem* pItem, int Column, const QString& Sufix, bool bList) +void COptionsWindow::SetProgramItem(QString Program, QTreeWidgetItem* pItem, int Column, const QString& Suffix, bool bList) { pItem->setData(Column, Qt::UserRole, Program); if (Program.left(1) == "<") @@ -1076,7 +1076,7 @@ void COptionsWindow::SetProgramItem(QString Program, QTreeWidgetItem* pItem, int Program = tr("All Programs"); else if(bList) m_Programs.insert(Program); - pItem->setText(Column, Program + Sufix); + pItem->setText(Column, Program + Suffix); } QString COptionsWindow::SelectProgram(bool bOrGroup) diff --git a/SandboxiePlus/SandMan/Windows/OptionsWindow.h b/SandboxiePlus/SandMan/Windows/OptionsWindow.h index 27cde3c3..e6d0a317 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsWindow.h +++ b/SandboxiePlus/SandMan/Windows/OptionsWindow.h @@ -355,7 +355,7 @@ protected: void CloseCopyEdit(bool bSave = true); void CloseCopyEdit(QTreeWidgetItem* pItem, bool bSave = true); - void SetProgramItem(QString Program, QTreeWidgetItem* pItem, int Column, const QString& Sufix = QString(), bool bList = true); + void SetProgramItem(QString Program, QTreeWidgetItem* pItem, int Column, const QString& Suffix = QString(), bool bList = true); QString SelectProgram(bool bOrGroup = true); void AddProgramToGroup(const QString& Program, const QString& Group); diff --git a/SandboxieTools/ImBox/ImBox.cpp b/SandboxieTools/ImBox/ImBox.cpp index f8fb0a05..958024d3 100644 --- a/SandboxieTools/ImBox/ImBox.cpp +++ b/SandboxieTools/ImBox/ImBox.cpp @@ -83,7 +83,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance, uSize = _wtoi64(size.c_str()); // - // perpare disk IO + // prepare disk IO // CAbstractIO* pIO = NULL;