summaryrefslogtreecommitdiffstats
path: root/src/os_amiga.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-05-09 15:00:00 +0100
committerBram Moolenaar <Bram@vim.org>2023-05-09 15:00:00 +0100
commitc9471b18728b1b37c04845ca2bc59fc981308b2d (patch)
treedafcc679138813e74a19d656f7a582d36e9d3ea3 /src/os_amiga.c
parentdda01c05c2ded3f0d11703bd983a19b6ca7d5055 (diff)
patch 9.0.1529: code style test doesn't check for space after "if"v9.0.1529
Problem: Code style test doesn't check for space after "if". Solution: Add a test for space.
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r--src/os_amiga.c4
1 files changed, 2 insertions, 2 deletions
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);