mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-26 23:10:32 +00:00
Use braces instead of indentation. C is not Python (#1745)
Co-authored-by: pancake <pancake@nopcode.org>
This commit is contained in:
parent
702dbe78ca
commit
f278de39c1
6
cs.c
6
cs.c
@ -707,10 +707,12 @@ cs_err CAPSTONE_API cs_option(csh ud, cs_opt_type type, size_t value)
|
||||
return CS_ERR_OK;
|
||||
|
||||
case CS_OPT_SKIPDATA_SETUP:
|
||||
if (value)
|
||||
if (value) {
|
||||
handle->skipdata_setup = *((cs_opt_skipdata *)value);
|
||||
if (handle->skipdata_setup.mnemonic == NULL)
|
||||
if (handle->skipdata_setup.mnemonic == NULL) {
|
||||
handle->skipdata_setup.mnemonic = SKIPDATA_MNEM;
|
||||
}
|
||||
}
|
||||
return CS_ERR_OK;
|
||||
|
||||
case CS_OPT_MNEMONIC:
|
||||
|
Loading…
Reference in New Issue
Block a user