mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	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.
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user