From f75f3f466110b665de79ab2cc2997de99733462f Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 6 Feb 2023 17:23:50 +0100 Subject: [PATCH] pattern: Fixed wrong number of required parameters for image visualizer --- plugins/builtin/source/content/pl_visualizers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/pl_visualizers.cpp b/plugins/builtin/source/content/pl_visualizers.cpp index d607e4030..cf7905267 100644 --- a/plugins/builtin/source/content/pl_visualizers.cpp +++ b/plugins/builtin/source/content/pl_visualizers.cpp @@ -438,7 +438,7 @@ namespace hex::plugin::builtin { void registerPatternLanguageVisualizers() { ContentRegistry::PatternLanguage::addVisualizer("line_plot", drawLinePlotVisualizer, 1); ContentRegistry::PatternLanguage::addVisualizer("scatter_plot", drawScatterPlotVisualizer, 2); - ContentRegistry::PatternLanguage::addVisualizer("image", drawImageVisualizer, 0); + ContentRegistry::PatternLanguage::addVisualizer("image", drawImageVisualizer, 1); ContentRegistry::PatternLanguage::addVisualizer("bitmap", drawBitmapVisualizer, 3); ContentRegistry::PatternLanguage::addVisualizer("disassembler", drawDisassemblyVisualizer, 4); ContentRegistry::PatternLanguage::addVisualizer("3d", draw3DVisualizer, 2);