Code style: fix misaligned and misindented comments

This commit is contained in:
Albert Safin 2018-12-09 07:06:29 +07:00
parent b6282b47bc
commit 27030c8566
10 changed files with 20 additions and 21 deletions

View File

@ -135,16 +135,16 @@ void render_con(Con *con) {
if ((child = TAILQ_FIRST(&(con->focus_head)))) { if ((child = TAILQ_FIRST(&(con->focus_head)))) {
/* By rendering the stacked container again, we handle the case /* By rendering the stacked container again, we handle the case
* that we have a non-leaf-container inside the stack. In that * that we have a non-leaf-container inside the stack. In that
* case, the children of the non-leaf-container need to be raised * case, the children of the non-leaf-container need to be
* as well. */ * raised as well. */
render_con(child); render_con(child);
} }
if (params.children != 1) if (params.children != 1)
/* Raise the stack con itself. This will put the stack decoration on /* Raise the stack con itself. This will put the stack
* top of every stack window. That way, when a new window is opened in * decoration on top of every stack window. That way, when a
* the stack, the old window will not obscure part of the decoration * new window is opened in the stack, the old window will not
* (its unmapped afterwards). */ * obscure part of the decoration (its unmapped afterwards). */
x_raise_con(con); x_raise_con(con);
} }
} }

View File

@ -413,8 +413,7 @@ int sd_booted(void) {
struct stat a, b; struct stat a, b;
/* We simply test whether the systemd cgroup hierarchy is /* We simply test whether the systemd cgroup hierarchy is mounted */
* mounted */
if (lstat("/sys/fs/cgroup", &a) < 0) if (lstat("/sys/fs/cgroup", &a) < 0)
return 0; return 0;