From c9471b18728b1b37c04845ca2bc59fc981308b2d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 9 May 2023 15:00:00 +0100 Subject: patch 9.0.1529: code style test doesn't check for space after "if" Problem: Code style test doesn't check for space after "if". Solution: Add a test for space. --- src/os_amiga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/os_amiga.c') diff --git a/src/os_amiga.c b/src/os_amiga.c index bc4ecc9610..d09974f949 100644 --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -921,8 +921,8 @@ mch_can_exe(char_u *name, char_u **path UNUSED, int use_path) struct PathNode *head = DupCmdPathList(NULL); // For each entry, recur to check for executable. - for(struct PathNode *tail = head; !exe && tail; - tail = (struct PathNode *) BADDR(tail->pn_Next)) + for (struct PathNode *tail = head; !exe && tail; + tail = (struct PathNode *) BADDR(tail->pn_Next)) { SetCurrentDir(tail->pn_Lock); exe = mch_can_exe(name, path, 0); -- cgit v1.2.3