Skip to content

Commit

Permalink
Adjust input size check (I forgot)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mozz3d committed Jan 27, 2025
1 parent e4dbf79 commit 76df691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/RED4ext/Dump/Reflection-inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RED4EXT_INLINE void Dump(std::filesystem::path aOutPath, std::filesystem::path a

for (const auto& [name, isSpecialCase] : uniqueNamespaces)
{
if (aInput.size() > name.size() && aInput.starts_with(name))
if (aInput.size() >= name.size() && aInput.starts_with(name))
{
i = name.size();

Expand Down

0 comments on commit 76df691

Please sign in to comment.