mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Fix build break
This commit is contained in:
parent
c2a2a9dee7
commit
31a273fdd0
|
@ -11,5 +11,5 @@ CheckOptions:
|
||||||
- key: fuchsia-restrict-system-includes.Includes
|
- key: fuchsia-restrict-system-includes.Includes
|
||||||
value: '*,-stdint.h,-stdbool.h'
|
value: '*,-stdint.h,-stdbool.h'
|
||||||
- key: readability-function-size.StatementThreshold
|
- key: readability-function-size.StatementThreshold
|
||||||
value: '910'
|
value: '915'
|
||||||
...
|
...
|
||||||
|
|
|
@ -6914,8 +6914,6 @@ nochange:
|
||||||
}
|
}
|
||||||
|
|
||||||
pent = &pdents[cur];
|
pent = &pdents[cur];
|
||||||
r = FALSE;
|
|
||||||
|
|
||||||
if (g_state.selbm) {
|
if (g_state.selbm) {
|
||||||
S_ISLNK(pent->mode)
|
S_ISLNK(pent->mode)
|
||||||
? (realpath(pent->name, newpath) && xstrsncpy(path, lastdir, PATH_MAX))
|
? (realpath(pent->name, newpath) && xstrsncpy(path, lastdir, PATH_MAX))
|
||||||
|
@ -6933,8 +6931,7 @@ nochange:
|
||||||
goto nochange;
|
goto nochange;
|
||||||
}
|
}
|
||||||
|
|
||||||
cdprep(lastdir, lastname, path, newpath)
|
cdprep(lastdir, lastname, path, newpath) ? (presel = FILTER) : (watch = TRUE);
|
||||||
? (presel = FILTER) : (watch = TRUE);
|
|
||||||
goto begin;
|
goto begin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6963,8 +6960,7 @@ nochange:
|
||||||
clearfilter();
|
clearfilter();
|
||||||
|
|
||||||
if (chdir(path) == -1
|
if (chdir(path) == -1
|
||||||
|| !run_plugin(&path, pent->name,
|
|| !run_plugin(&path, pent->name, runfile, &lastname, &lastdir)) {
|
||||||
runfile, &lastname, &lastdir)) {
|
|
||||||
DPRINTF_S("plugin failed!");
|
DPRINTF_S("plugin failed!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue