From d48355c30584585e1d2e881e9101650af66bab57 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 16 Feb 2015 07:54:21 +0100 Subject: Fixed using the default sort mode in a video directory without a ".sort" file --- recording.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recording.c') diff --git a/recording.c b/recording.c index 337d4a88..0a084140 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 3.27 2015/02/07 16:07:22 kls Exp $ + * $Id: recording.c 3.28 2015/02/16 07:49:14 kls Exp $ */ #include "recording.h" @@ -3027,6 +3027,7 @@ bool HasRecordingsSortMode(const char *Directory) void GetRecordingsSortMode(const char *Directory) { + RecordingsSortMode = rsmName; if (FILE *f = fopen(AddDirectory(Directory, SORTMODEFILE), "r")) { char buf[8]; if (fgets(buf, sizeof(buf), f)) -- cgit v1.2.3