use 'break' instead of 'return', the generated code will end up in a switch statement
This commit is contained in:
parent
7ddba4995f
commit
ec317e78c1
|
@ -735,13 +735,13 @@ move:
|
||||||
free($3);
|
free($3);
|
||||||
|
|
||||||
if (!output)
|
if (!output)
|
||||||
return 0;
|
break;
|
||||||
|
|
||||||
/* get visible workspace on output */
|
/* get visible workspace on output */
|
||||||
Con *ws = NULL;
|
Con *ws = NULL;
|
||||||
GREP_FIRST(ws, output_get_content(output->con), workspace_is_visible(child));
|
GREP_FIRST(ws, output_get_content(output->con), workspace_is_visible(child));
|
||||||
if (!ws)
|
if (!ws)
|
||||||
return 0;
|
break;
|
||||||
|
|
||||||
TAILQ_FOREACH(current, &owindows, owindows) {
|
TAILQ_FOREACH(current, &owindows, owindows) {
|
||||||
printf("matching: %p / %s\n", current->con, current->con->name);
|
printf("matching: %p / %s\n", current->con, current->con->name);
|
||||||
|
|
Loading…
Reference in New Issue