comparison src/os_amiga.c @ 32395:2ed95122d59c v9.0.1529

patch 9.0.1529: code style test doesn't check for space after "if" Commit: https://github.com/vim/vim/commit/c9471b18728b1b37c04845ca2bc59fc981308b2d Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 9 15:00:00 2023 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Tue, 09 May 2023 16:15:05 +0200
parents 2af88d8f87ab
children 448aef880252
comparison
equal deleted inserted replaced
32394:0db2ebbe7711 32395:2ed95122d59c
919 // Save current working dir. 919 // Save current working dir.
920 BPTR cwd = GetCurrentDir(); 920 BPTR cwd = GetCurrentDir();
921 struct PathNode *head = DupCmdPathList(NULL); 921 struct PathNode *head = DupCmdPathList(NULL);
922 922
923 // For each entry, recur to check for executable. 923 // For each entry, recur to check for executable.
924 for(struct PathNode *tail = head; !exe && tail; 924 for (struct PathNode *tail = head; !exe && tail;
925 tail = (struct PathNode *) BADDR(tail->pn_Next)) 925 tail = (struct PathNode *) BADDR(tail->pn_Next))
926 { 926 {
927 SetCurrentDir(tail->pn_Lock); 927 SetCurrentDir(tail->pn_Lock);
928 exe = mch_can_exe(name, path, 0); 928 exe = mch_can_exe(name, path, 0);
929 } 929 }
930 930