readstdin: add a comment bcbc1ef5
Maybe too obvious / redundant, but OK.
Hiltjo Posthuma · 2022-10-31 11:43 1 file(s) · +1 −1
dmenu.c +1 −1
562 562
			line[len - 1] = '\0';
563 563
		items[i].text = line;
564 564
		items[i].out = 0;
565 -
		line = NULL;
565 +
		line = NULL; /* next call of getline() allocates a new line */
566 566
	}
567 567
	free(line);
568 568
	if (items)