diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-07-26 19:13:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-07-26 19:13:51 (GMT) |
commit | ba30fbc703ff3ad77bb5df6c167809955215d49c (patch) | |
tree | ef3b8dda358be68b834503f794836d7dde17dabf /src/glibext/gbinportion.c | |
parent | a6c46fc296db67321db3d4bb586346998de90422 (diff) |
Avoided fixed columns when filling lines with locations.
Diffstat (limited to 'src/glibext/gbinportion.c')
-rw-r--r-- | src/glibext/gbinportion.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/glibext/gbinportion.c b/src/glibext/gbinportion.c index 44053f9..670e0ec 100644 --- a/src/glibext/gbinportion.c +++ b/src/glibext/gbinportion.c @@ -40,6 +40,7 @@ #include "../common/sort.h" #include "../glibext/gbinarycursor.h" #include "../glibext/linegen-int.h" +#include "../gtkext/gtkblockdisplay.h" @@ -1121,7 +1122,9 @@ static void g_binary_portion_print(GBinPortion *portion, GBufferLine *line, size { assert(repeat < portion->lcount); - g_buffer_line_fill_vmpa(line, get_mrange_addr(&portion->range), MDS_32_BITS_UNSIGNED, MDS_32_BITS_UNSIGNED); + g_buffer_line_fill_phys(line, DLC_PHYSICAL, MDS_32_BITS_UNSIGNED, get_mrange_addr(&portion->range)); + + g_buffer_line_fill_virt(line, DLC_VIRTUAL, MDS_32_BITS_UNSIGNED, get_mrange_addr(&portion->range)); if (portion->text[repeat] != NULL) { |