Style fix - noice - small file browser (mirror / fork from 2f30.org)
HTML git clone git://git.codemadness.org/noice
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c54f2b663b707fa5f5fa4c1a58bf606d9f132869
DIR parent e81a1c5362dc178e1c9006077f836d7ca5bfb577
HTML Author: sin <sin@2f30.org>
Date: Sun, 4 Aug 2019 11:54:33 +0100
Style fix
Diffstat:
M nopen.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
DIR diff --git a/nopen.c b/nopen.c
@@ -86,8 +86,7 @@ main(int argc, char *argv[])
for (; *argv != NULL; argv++) {
struct assoc *assoc;
- assoc = openwith(argv[0]);
- if (assoc == NULL)
+ if ((assoc = openwith(argv[0])) == NULL)
continue;
spawnassoc(assoc, argv[0]);
}