mirror of https://github.com/WerWolv/ImHex.git
fix: Do not loop over 'END' ImHexPath (#1098)
Really small issue, in Help->About->Imhex directories, there would be an extra entry at the end because you seemed to loop over the fs::ImHexPath::END entry
This commit is contained in:
parent
d2638c4f27
commit
ee94870e83
|
@ -148,7 +148,7 @@ namespace hex::plugin::builtin {
|
|||
ImGui::TableSetupColumn("Type");
|
||||
ImGui::TableSetupColumn("Paths");
|
||||
|
||||
constexpr static std::array<std::pair<const char *, fs::ImHexPath>, u32(fs::ImHexPath::END)> PathTypes = {
|
||||
constexpr static std::array<std::pair<const char *, fs::ImHexPath>, u32(fs::ImHexPath::END)-1> PathTypes = {
|
||||
{
|
||||
{ "Patterns", fs::ImHexPath::Patterns },
|
||||
{ "Patterns Includes", fs::ImHexPath::PatternsInclude },
|
||||
|
|
Loading…
Reference in New Issue