From 4c51c754d9384a1d96454c71f631799ca771a1bc Mon Sep 17 00:00:00 2001 From: Carmix Date: Wed, 4 Oct 2023 21:57:21 +0200 Subject: [PATCH] bugfix --- hexwalk/binanalysisdialog.cpp | 2 +- hexwalk/stringsdialog.cpp | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hexwalk/binanalysisdialog.cpp b/hexwalk/binanalysisdialog.cpp index 35e4cd6..29ce25c 100644 --- a/hexwalk/binanalysisdialog.cpp +++ b/hexwalk/binanalysisdialog.cpp @@ -121,7 +121,7 @@ binanalysisdialog::binanalysisdialog(QHexEdit *hexEdit,QWidget *parent) : } #else QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); - binwalkProcess->setEnvironment(env); + binwalkProcess->setProcessEnvironment(env); #endif diff --git a/hexwalk/stringsdialog.cpp b/hexwalk/stringsdialog.cpp index e4c7677..37ddd16 100644 --- a/hexwalk/stringsdialog.cpp +++ b/hexwalk/stringsdialog.cpp @@ -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; }