From c3707de5b576d613801418b15fb1676b6daeffc9 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 7 Aug 2018 02:19:20 -0400 Subject: [PATCH] extension bugfix --- GUI/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index 9c16319..2ddd33c 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -243,7 +243,7 @@ void MainWindow::on_addExtenButton_clicked() void MainWindow::on_rmvExtenButton_clicked() { if (extenCombo->currentText().size() == 0) return; - QString extenFileName = extenCombo->currentText().split(":")[0] + "_" + extenCombo->currentText().split(":")[1] + "_nexthooker_extension.dll"; + QString extenFileName = extenCombo->currentText().split(":")[0] + "_" + extenCombo->currentText().split(": ")[1] + "_nexthooker_extension.dll"; FreeLibrary(GetModuleHandleW(extenFileName.toStdWString().c_str())); DeleteFileW(extenFileName.toStdWString().c_str()); extenCombo->clear();