mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Save one level of indentation
This commit is contained in:
parent
05957936f5
commit
bc69021233
4
noice.c
4
noice.c
|
@ -577,9 +577,8 @@ nochange:
|
||||||
return;
|
return;
|
||||||
case SEL_BACK:
|
case SEL_BACK:
|
||||||
/* There is no going back */
|
/* There is no going back */
|
||||||
if (strcmp(path, "/") == 0) {
|
if (strcmp(path, "/") == 0)
|
||||||
goto nochange;
|
goto nochange;
|
||||||
} else {
|
|
||||||
dir = xdirname(path);
|
dir = xdirname(path);
|
||||||
free(path);
|
free(path);
|
||||||
path = dir;
|
path = dir;
|
||||||
|
@ -596,7 +595,6 @@ nochange:
|
||||||
cur = 0;
|
cur = 0;
|
||||||
}
|
}
|
||||||
goto out;
|
goto out;
|
||||||
}
|
|
||||||
case SEL_GOIN:
|
case SEL_GOIN:
|
||||||
/* Cannot descend in empty directories */
|
/* Cannot descend in empty directories */
|
||||||
if (n == 0)
|
if (n == 0)
|
||||||
|
|
Loading…
Reference in a new issue