diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-02-16 07:54:21 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-02-16 07:54:21 +0100 |
commit | d48355c30584585e1d2e881e9101650af66bab57 (patch) | |
tree | b8251dba959ae600d4a26f16fc4a8ab9372f2f78 /recording.c | |
parent | 519ecddc529c4a4ac6290c5bbcb26d027ac56007 (diff) | |
download | vdr-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.c | 3 |
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)) |