aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 65cd394..114d944 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3315,12 +3315,12 @@ nochange:
r = TRUE;
switch (sel) {
- case SEL_MEDIA:
- r = show_mediainfo(newpath, NULL);
- break;
+ case SEL_MEDIA: // fallthrough
case SEL_FMEDIA:
- r = show_mediainfo(newpath, "-f");
- break;
+ tmp = (sel == SEL_FMEDIA) ? "-f" : NULL;
+ show_mediainfo(newpath, tmp);
+ setdirwatch();
+ goto nochange;
case SEL_ARCHIVELS:
r = handle_archive(newpath, "-l", path);
break;