mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Inverted logic for custom inspector row evaluation
This commit is contained in:
@@ -183,7 +183,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
void ViewDataInspector::executeInspector(const std::string& code, const std::fs::path& path, const std::map<std::string, pl::core::Token::Literal>& inVariables) {
|
||||
if (m_runtime.executeString(code, pl::api::Source::DefaultSource, {}, inVariables, true) == 0) {
|
||||
if (m_runtime.executeString(code, pl::api::Source::DefaultSource, {}, inVariables, true) != 0) {
|
||||
|
||||
auto displayFunction = createPatternErrorDisplayFunction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user