diff options
Diffstat (limited to 'opcodes/maxq-dis.c')
-rw-r--r-- | opcodes/maxq-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/maxq-dis.c b/opcodes/maxq-dis.c index b4c4992..d9977ea 100644 --- a/opcodes/maxq-dis.c +++ b/opcodes/maxq-dis.c @@ -182,7 +182,7 @@ get_reg_name (unsigned char reg_code, type1 arg_pos) if (reg_code == mem_acc->opcode) { for (syntax = mem_access_syntax_table; - mem_access_syntax_table != NULL || mem_access_syntax_table->name; + syntax != NULL && syntax->name; ++syntax) if (!strcmp (mem_acc->name, syntax->name)) { |