summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
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))