Improve one poor case of indentation
The original code was distinctly unclear. I've tried to keep to the surrounding code style while making the code flow more comprehensible. I've not looked elsewhere for any other similar occurrences; this became apparent while investigating a specific line of thought.
This commit is contained in:
parent
0319c0ff3b
commit
a689b8efdf
@ -9701,7 +9701,9 @@ nk_draw_list_push_image(struct nk_draw_list *list, nk_handle texture)
|
||||
#ifdef NK_INCLUDE_COMMAND_USERDATA
|
||||
|| prev->userdata.id != list->userdata.id
|
||||
#endif
|
||||
) nk_draw_list_push_command(list, prev->clip_rect, texture);
|
||||
) {
|
||||
nk_draw_list_push_command(list, prev->clip_rect, texture);
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef NK_INCLUDE_COMMAND_USERDATA
|
||||
|
@ -203,7 +203,9 @@ nk_draw_list_push_image(struct nk_draw_list *list, nk_handle texture)
|
||||
#ifdef NK_INCLUDE_COMMAND_USERDATA
|
||||
|| prev->userdata.id != list->userdata.id
|
||||
#endif
|
||||
) nk_draw_list_push_command(list, prev->clip_rect, texture);
|
||||
) {
|
||||
nk_draw_list_push_command(list, prev->clip_rect, texture);
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef NK_INCLUDE_COMMAND_USERDATA
|
||||
|
Loading…
Reference in New Issue
Block a user