Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarmix committed Oct 4, 2023
1 parent 18110cb commit 4c51c75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hexwalk/binanalysisdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ binanalysisdialog::binanalysisdialog(QHexEdit *hexEdit,QWidget *parent) :
}
#else
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
binwalkProcess->setEnvironment(env);
binwalkProcess->setProcessEnvironment(env);
#endif


Expand Down
6 changes: 5 additions & 1 deletion hexwalk/stringsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,15 @@ void StringsDialog::searchStrings()
{
toAdd = false;
}
else if(test_c ==' ' && ui->cbSpaces->isChecked())
{
toAdd = true;
}
else if(test_c>='a' && test_c <='z' && ui->cbLower->isChecked())
{
toAdd = true;
}
else if(test_c >='a' && test_c <='z' && ui->cbUpper->isChecked())
else if(test_c >='A' && test_c <='Z' && ui->cbUpper->isChecked())
{
toAdd = true;
}
Expand Down

0 comments on commit 4c51c75

Please sign in to comment.