all repos — dmenu @ 523aa08f51a88c59ad4b1f600f8ce3d122e9e289

my build of dmenu

remove always true condition in if statement
Guilherme Janczak guilherme.janczak@yandex.com
Sun, 25 Jul 2021 01:55:25 +0000
commit

523aa08f51a88c59ad4b1f600f8ce3d122e9e289

parent

1a13d0465d1a6f4f74bc5b07b04c9bd542f20ba6

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M stest.cstest.c

@@ -84,7 +84,7 @@

if (!argc) { /* read list from stdin */ while ((n = getline(&line, &linesiz, stdin)) > 0) { - if (n && line[n - 1] == '\n') + if (line[n - 1] == '\n') line[n - 1] = '\0'; test(line, line); }