diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-07-27 21:54:34 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-07-27 21:54:34 (GMT) |
commit | 703e0d10d56bb288b515526f0d0f1994391619bf (patch) | |
tree | a633c7286968908504a4ba9e9296bc80f8ffd2b1 /src/arch/operands/immediate.c | |
parent | 9606b8e49299e37b297da039fc8a645f1ab4cf2d (diff) |
Removed some extra special column indexes.
Diffstat (limited to 'src/arch/operands/immediate.c')
-rw-r--r-- | src/arch/operands/immediate.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/operands/immediate.c b/src/arch/operands/immediate.c index 769826b..746bcae 100644 --- a/src/arch/operands/immediate.c +++ b/src/arch/operands/immediate.c @@ -45,6 +45,7 @@ #include "../../core/logs.h" #include "../../format/format.h" #include "../../glibext/objhole.h" +#include "../../gtkext/gtkblockdisplay.h" @@ -1351,7 +1352,7 @@ static void g_imm_operand_print(const GImmOperand *operand, GBufferLine *line) len = g_imm_operand_to_string(operand, value); - g_buffer_line_append_text(line, BLC_MAIN, value, len, RTT_IMMEDIATE, G_OBJECT(operand)); + g_buffer_line_append_text(line, DLC_ASSEMBLY, value, len, RTT_IMMEDIATE, G_OBJECT(operand)); } @@ -1940,7 +1941,7 @@ static void g_known_imm_operand_print(const GKnownImmOperand *operand, GBufferLi len = strlen(operand->alt_text); - g_buffer_line_append_text(line, BLC_MAIN, operand->alt_text, len, RTT_IMMEDIATE, G_OBJECT(operand)); + g_buffer_line_append_text(line, DLC_ASSEMBLY, operand->alt_text, len, RTT_IMMEDIATE, G_OBJECT(operand)); } |