diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2019-03-17 16:15:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2019-03-17 16:15:51 +0100 |
commit | 4bd6d6559ff530f6fc39d4e60ed4f259f401e0ac (patch) | |
tree | 66672bdcce7d6697ebc6d7b43d560db8c3ac974b /recording.c | |
parent | 4b3fec660a5a8da7f52a0779e0b883de6d787287 (diff) | |
download | vdr-4bd6d6559ff530f6fc39d4e60ed4f259f401e0ac.tar.gz vdr-4bd6d6559ff530f6fc39d4e60ed4f259f401e0ac.tar.bz2 |
Fixed sorting recordings alphabetically
Diffstat (limited to 'recording.c')
-rw-r--r-- | recording.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recording.c b/recording.c index 0cf265cb..63f6a860 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 4.22 2018/03/17 10:56:13 kls Exp $ + * $Id: recording.c 4.23 2019/03/17 16:01:13 kls Exp $ */ #include "recording.h" @@ -1022,9 +1022,9 @@ int cRecording::Compare(const cListObject &ListObject) const { cRecording *r = (cRecording *)&ListObject; if (Setup.RecSortingDirection == rsdAscending) - return strcasecmp(SortName(), r->SortName()); + return strcmp(SortName(), r->SortName()); else - return strcasecmp(r->SortName(), SortName()); + return strcmp(r->SortName(), SortName()); } bool cRecording::IsInPath(const char *Path) const |