Fix floating point addresses in explore disassembly when terminal size is odd

This commit is contained in:
2026-07-01 12:04:03 +02:00
parent 961a2f02c5
commit 65f34aa653
+1 -1
View File
@@ -133,7 +133,7 @@ sub filter_marker_values {
} }
# How much to disassemble around the address / how many lines to show # How much to disassemble around the address / how many lines to show
my $region_size = $cui->height() / 2 - 2; my $region_size = int( $cui->height() / 2 ) - 2;
my $asm_region_size = $region_size + 120; my $asm_region_size = $region_size + 120;
my %assembly_cache; my %assembly_cache;