refactor: clint (#20600)

This commit is contained in:
Lewis Russell
2022-10-12 14:53:40 +01:00
committed by GitHub
parent 024f6880b5
commit 0ef6aaa3a7
14 changed files with 59 additions and 77 deletions

View File

@@ -1274,9 +1274,8 @@ scripterror:
kFileReadOnly|kFileNonBlocking);
assert(stdin_dup != NULL);
scriptin[0] = stdin_dup;
} else if ((scriptin[0] =
file_open_new(&error, argv[0], kFileReadOnly|kFileNonBlocking,
0)) == NULL) {
} else if ((scriptin[0] = file_open_new(&error, argv[0],
kFileReadOnly|kFileNonBlocking, 0)) == NULL) {
vim_snprintf((char *)IObuff, IOSIZE,
_("Cannot open for reading: \"%s\": %s\n"),
argv[0], os_strerror(error));