mirror of git://git.suckless.org/dmenu
readstdin: add a comment
Maybe too obvious / redundant, but OK.
This commit is contained in:
parent
689d9bfcf6
commit
bcbc1ef5c4
2
dmenu.c
2
dmenu.c
|
@ -562,7 +562,7 @@ readstdin(void)
|
||||||
line[len - 1] = '\0';
|
line[len - 1] = '\0';
|
||||||
items[i].text = line;
|
items[i].text = line;
|
||||||
items[i].out = 0;
|
items[i].out = 0;
|
||||||
line = NULL;
|
line = NULL; /* next call of getline() allocates a new line */
|
||||||
}
|
}
|
||||||
free(line);
|
free(line);
|
||||||
if (items)
|
if (items)
|
||||||
|
|
Loading…
Reference in New Issue