Fix floating point addresses in explore disassembly when terminal size is odd
This commit is contained in:
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user