Skip to content

Commit

Permalink
Trim region name to account for multiple consecutive spaces in maps file
Browse files Browse the repository at this point in the history
  • Loading branch information
descawed committed Oct 11, 2024
1 parent 101c7a3 commit 9dbe92d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ namespace hex::plugin::builtin {

std::string name;
if (split.size() > 5)
name = combineStrings(std::vector(split.begin() + 5, split.end()), " ");
name = wolv::util::trim(combineStrings(std::vector(split.begin() + 5, split.end()), " "));

m_memoryRegions.insert({ { start, end - start }, name });
}
Expand Down

0 comments on commit 9dbe92d

Please sign in to comment.