Code style: fix misaligned and misindented comments

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

View File

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