Use correct fucntion for the popup

This commit is contained in:
Dhruv Maroo
2023-04-22 00:21:37 +05:30
parent c240d69264
commit c8231649a0

View File

@@ -65,9 +65,9 @@ public class RustDecPlugin extends Plugin {
@Override @Override
public void actionPerformed(ActionContext context) { public void actionPerformed(ActionContext context) {
if (RustStdAnalyzer.isRustBinary(program)) { if (RustStdAnalyzer.isRustBinary(program)) {
Msg.info(this, "[+] Yes, this may be a Rust binary!"); Msg.showInfo(this, null, "GhidRust", "[+] Yes, this may be a Rust binary!");
} else { } else {
Msg.info(this, "[-] No, this may not be a Rust binary!"); Msg.showInfo(this, null, "GhidRust", "[-] No, this may not be a Rust binary!");
} }
} }
}; };