summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-02-16 07:54:21 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-02-16 07:54:21 +0100
commitd48355c30584585e1d2e881e9101650af66bab57 (patch)
treeb8251dba959ae600d4a26f16fc4a8ab9372f2f78 /recording.c
parent519ecddc529c4a4ac6290c5bbcb26d027ac56007 (diff)
downloadvdr-d48355c30584585e1d2e881e9101650af66bab57.tar.gz
vdr-d48355c30584585e1d2e881e9101650af66bab57.tar.bz2
Fixed using the default sort mode in a video directory without a ".sort" file
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c3
1 files changed, 2 insertions, 1 deletions
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))