mirror of https://github.com/WerWolv/ImHex.git
Compare commits
2 Commits
4e22d636d3
...
d463491026
Author | SHA1 | Date |
---|---|---|
WerWolv | d463491026 | |
WerWolv | df3d5e38ce |
|
@ -111,6 +111,14 @@ namespace hex::init {
|
|||
glyphRangesBuilder.AddRanges(fonts->GetGlyphRangesKorean());
|
||||
glyphRangesBuilder.AddRanges(fonts->GetGlyphRangesThai());
|
||||
glyphRangesBuilder.AddRanges(fonts->GetGlyphRangesVietnamese());
|
||||
|
||||
{
|
||||
constexpr static ImWchar controlCodeRange[] = { 0x0000, 0x001F, 0 };
|
||||
constexpr static ImWchar extendedAsciiRange[] = { 0x007F, 0x00FF, 0 };
|
||||
glyphRangesBuilder.AddRanges(controlCodeRange);
|
||||
glyphRangesBuilder.AddRanges(extendedAsciiRange);
|
||||
}
|
||||
|
||||
glyphRangesBuilder.BuildRanges(&ranges);
|
||||
}
|
||||
|
||||
|
|
|
@ -242,7 +242,7 @@ namespace hex::plugin::builtin {
|
|||
size_t byteCount = std::min<size_t>(0x10 - offset, region.size);
|
||||
ImHexApi::Provider::get()->read(region.address, bytes.data() + offset, byteCount);
|
||||
|
||||
for (size_t byte = 0; byte < 0x10; byte++) {
|
||||
for (size_t byte = 0; byte < (offset % 0x10) + byteCount; byte++) {
|
||||
if (byte < offset)
|
||||
ImGui::TextUnformatted(" ");
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue