Commit 915e12e5 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winedbg: Avoid TRUE:FALSE conditional expressions.

parent eeed445f
......@@ -869,7 +869,7 @@ void be_arm_disasm_one_insn(ADDRESS64 *addr, int display)
if (!memory_get_register(CV_ARM_CPSR, &pval, tmp, sizeof(tmp)))
dbg_printf("\n\tmemory_get_register failed: %s", tmp);
else
db_disasm_thumb=(*pval & 0x20)?TRUE:FALSE;
db_disasm_thumb = (*pval & 0x20) != 0;
db_display = display;
......
......@@ -549,7 +549,7 @@ void break_enable_xpoint(int num, BOOL enable)
dbg_printf("Invalid breakpoint number %d\n", num);
return;
}
dbg_curr_process->bp[num].enabled = (enable) ? TRUE : FALSE;
dbg_curr_process->bp[num].enabled = enable != 0;
dbg_curr_process->bp[num].skipcount = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment