Remove one level of indentation #1465

This commit is contained in:
Ingo Bürk 2015-02-11 20:34:19 +01:00
parent 20dc3271a7
commit bf0e8c2862
1 changed files with 28 additions and 26 deletions

View File

@ -520,7 +520,10 @@ void child_click_events_key(const char *key) {
*
*/
void send_block_clicked(int button, const char *name, const char *instance, int x, int y) {
if (child.click_events) {
if (!child.click_events) {
return;
}
child_click_events_initialize();
yajl_gen_map_open(gen);
@ -547,7 +550,6 @@ void send_block_clicked(int button, const char *name, const char *instance, int
yajl_gen_map_close(gen);
child_write_output();
}
}
/*
* kill()s the child-process (if any). Called when exit()ing.