Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fixes #3465

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sandboxie/apps/control/TreePropSheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Sandboxie/common/hook_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Sandboxie/core/dll/dllmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Sandboxie/core/drv/my_fltkernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Sandboxie/core/svc/sbieiniserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion SandboxiePlus/SandMan/OnlineUpdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions SandboxiePlus/SandMan/Windows/OptionsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) == "<")
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion SandboxiePlus/SandMan/Windows/OptionsWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ private slots:
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);
Expand Down
2 changes: 1 addition & 1 deletion SandboxieTools/ImBox/ImBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
uSize = _wtoi64(size.c_str());

//
// perpare disk IO
// prepare disk IO
//

CAbstractIO* pIO = NULL;
Expand Down